Ranjan Kumar Baisak wrote:
I would think this would be the root issue: "Too many open files"

We dont have much file handling operations in our web applications, but again I am going to look minutely all IO operations in my application.
What OS are you running. Some limit the number of open file handles. Also might want to check to be sure you are closing files when finished with them in your webapp.

its running on *Red Hat *Enterprise Linux AS 4. I am at all not good at system programming, but I would love to know any such commands/utilities exist that can tell me detail about what are the files getting opened in my web application which results such exception.

regards,


Ranjan Kumar Baisak wrote:

Hi Experts,
I am facing a strange problem in my tomcat application. Suddenly it generates following Exceptions

java.io.FileNotFoundException: /server/http/site/music.yamaha.com/site/work/SESSIONS.ser (Too many open files)
  at java.io.FileOutputStream.open(Native Method)
  ..
....

And some other application FNF

java.io.FileNotFoundException: /server/http/site/ssd.com/site/dist/tilesCopy/en_US/siteTree.xml (Too many open files)
  at java.io.FileInputStream.open(Native Method)
...
...

What might be the possible causes that generates such exception?
Some people suggested me to check whether application is running on development mode, and if yes then change it to deployment mode i.e.
<context-param>
       <param-name>configuration</param-name>
      <param-value>deployment</param-value>
  </context-param>


I am not using any <context-param> in my web.xml.
I would appreciate your thoughtful suggestion.

regards,
Ranjan


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


To see your current settings use 'ulimit -a'. If you want to make permanent changes edit /etc/security/limits.conf Everything in a system is a file, not just a single webpage, the default are not enough for your requirements.

--
Darek Czarkowski
Ph: 604 294 6557 (Ext. 113)
Fx: 604 294 6507
www.infinitesource.ca
darekc at infinitesource dot ca

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to