Exception: /root/.chemaxon/.cartridge (Too many open files)

ChemAxon 60ee1f1328

12-09-2006 12:36:16

Could somebody please help indicate how this error might have occured?





Exception: /root/.chemaxon/.cartridge (Too many open files)





Is this a ChemAxon specific (if so how to avoid) or a more general Oracle error that has surfaced via tomcat?





Thanks for any comments,


Daniel.

ChemAxon aa7c50abf8

12-09-2006 21:30:11

To be completely honest, I am not 100% sure exactly what the error message means and exactly how it came about. Especially that you did not specify where you got it. (It seems to be just a fragment of a more complete error message.)





Nonetheless, I checked the code where the file ~/.chemaxon/.cartridge is accessed and found two places where the file was inadvertantly not explicitely closed. The fixes will appear in JChem 3.2. Note that these now removed bugs could result in a similar error message, if you changed your JChem Cartridge settings quite a number of times via the Web-based administration GUI without restarting Tomcat. How many changes in the settings it takes for this problem to occur depends on the limit (specific to your operating environment) on the number of open files for a given shell. The default on linux is 1024, on Solaris 10 it is 256. On Windows, it also appears to be 256. (Well, with those values it does not take such an awful lot of setting changes for this to happen.)





Peter

ChemAxon 60ee1f1328

13-09-2006 15:01:36

Thanks Peter - I'll see if it happens again and bear in mind your comments...Cheers, Daniel.