Should I then place ulimit -n XXXX in the catalina startup scripts?

Jim Cox wrote:
On 10/18/07, Daniel M Garland <[EMAIL PROTECTED]> wrote:
Hi all

I'm seeing a problem on a Tomcat instance:

18-Oct-2007 12:41:47 org.apache.tomcat.util.net.AprEndpoint$Acceptor run
SEVERE: Socket accept failed
org.apache.tomcat.jni.Error: Too many open files
         at org.apache.tomcat.jni.Socket.accept(Native Method)
         at
org.apache.tomcat.util.net.AprEndpoint$Acceptor.run(AprEndpoint.java:1001)
         at java.lang.Thread.run(Thread.java:595)

Looking through Google and the advice seems to increase the number of
file descriptors. I'm on debian etch and

cat /proc/sys/fs/file-max
gives
369540

Relevant thing is probably the open file limit for processes -- what
does "ulimit -a" return for whatever user you're running Tomcat under?

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


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

---------------------------------------------------------------------
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