Thanks for the response John. My application is running on Linux. I have increased the open file limit to more than 75,000; but that only means that the tomcat server will take some more time to crash; once the limit is exhausted.
The root cause of the problem is that there is some component (probably derby) in my magnolia application which is not releasing the file-handles. I am already considering migrating my application to a different database such as mysql or postgres. Best Regards, ~Deepak -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Sent: Monday, September 04, 2006 6:10 AM To: [email protected] Subject: Re: [magnolia-user] Tomcat server crash because of "too many files open" | Magnolia 3.0 rc2 On 9/1/06, Deepak Mittal <[email protected]> wrote: > Hello Magnolians, > > I am using Magnolia 3.0 rc2 to host my web-application on tomcat 5.5 > using derby database (default). > > However, my tomcat server keeps crashing after few days because of "too > many files open" exception. > > Is there anyone else who is facing a similar problem; and any > tips/work-around for this problem? Hi Deepak, are you running on a linux/unix system ? Have you investigated "man ulimit" ? Have you googled for that problem in the large ? google : 'tomcat "too many files open"' ? Best regards, -- John Mettraux -///- http://jmettraux.openwfe.org ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
