I have simple Rails app running on Jruby-1.0.1 on Tomcat 5 on Linux.
10 days or so, it crashes because the process has too many open files. I
restarted my application two days ago, and this morning using lsof I see
that my process now has 126 file handles to the file production.log.
In catalina.out, I see a series of entries that look like this:
Oct 8, 2007 10:03:33 PM org.apache.catalina.core.ApplicationContext log
INFO: Runtime 956 loaded
…/actionmailer-1.3.3/lib/action_mailer.rb:49 warning: already
The runtime number is always incremented by one and seems to correspond
the number of file handles I have.
Should I be closing the handle to the log file myself? What else should
look at to isolate this problem?
To unsubscribe from this list please visit: