[opencms-dev] OpenCMS crashes down due to a "Too many open files" error.

Juan Manuel Pittacolo savarese at fastmail.fm
Thu Nov 25 13:36:03 CET 2004


We are using OpenCms 5.0.0 in a Tomcat/Oracle platform running on Solaris. The system has about 5000 files. Everytime we run the scheduled indexing process, we get an error like the following:

[22.11.2004 01:18:57] <opencms_critical> IndexManager: IO Error 
processing file cams2162sp.shtml: java.io.FileNotFoundException: 
/opt/jakarta/tomcat/webapps/xab/index/_1ln.tis (Too many open files)
[22.11.2004 01:18:59] <opencms_critical> IndexManager: IO Error 
processing file cams2219sp.shtml: java.io.FileNotFoundException: 
/opt/jakarta/tomcat/webapps/xab/index/_1mw.fdx (Too many open files)
[22.11.2004 01:18:59] <opencms_critical> IndexManager: IO Error 
processing file cams2220sp.shtml: java.io.FileNotFoundException: 
/opt/jakarta/tomcat/webapps/xab/index/_1my.fnm (Too many open files)
[22.11.2004 01:18:59] <opencms_critical> IndexManager: IO Error 
processing file cams2221sp.shtml: java.io.FileNotFoundException: 
/opt/jakarta/tomcat/webapps/xab/index/_1n0.fnm (Too many open files)
[22.11.2004 01:18:59] <opencms_critical> IndexManager: IO Error 
processing file cams2222sp.shtml: java.io.FileNotFoundException: 
/opt/jakarta/tomcat/webapps/xab/index/_1n2.fnm (Too many open files)
[22.11.2004 01:18:59] <opencms_critical> IndexManager: IO Error 
processing file cams2223sp.shtml: java.io.FileNotFoundException: 
/opt/jakarta/tomcat/webapps/xab/index/_1n4.fnm (Too many open files)
[22.11.2004 01:18:59] <opencms_critical> IndexManager: IO Error 
processing file cams2224sp.shtml: java.io.FileNotFoundException: 
/opt/jakarta/tomcat/webapps/xab/index/_1n6.fnm (Too many open files)
[22.11.2004 01:19:00] <opencms_critical> IndexManager: IO Error 
processing file cams2225sp.shtml: java.io.FileNotFoundException: 
/opt/jakarta/tomcat/webapps/xab/index/_1n8.fdx (Too many open files)
[22.11.2004 01:19:00] <opencms_critical> IndexManager: IO Error 
processing file cams2226sp.shtml: java.io.FileNotFoundException: 
/opt/jakarta/tomcat/webapps/xab/index/_1na.fnm (Too many open files)

We suspect the problematic class is net.grcomputing.opencms.search.lucene.CronIndexManager.

The process is running at the dawn, when nobody is using the system.
Any ideas about what could it be?

Thanks in advance.

-- 
Regards



More information about the opencms-dev mailing list