Re: Too many open files error

2011-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lance, On 8/24/2011 11:21 AM, Campbell, Lance wrote: > Tomcat 6.0.32 Java 1.6.27 Apache 2.0 RedHat 6.x 64 bit > /proc/sys/fs/file-max = 3233344 > > We experienced an issue where we were getting the error "too many > open files" in tomcat. The serv

Re: Too many open files error

2011-08-24 Thread Francis GALIEGUE
On Wed, Aug 24, 2011 at 17:33, Campbell, Lance wrote: > The file /etc/security/limits.d is empty.  What would be an example of > something you would expect to see in there that would relate to changing the > RMILIT_NFILE value? > It's a directory, not a file. Create a file named tomcat in it (o

RE: Too many open files error

2011-08-24 Thread Campbell, Lance
10:24 AM To: Tomcat Users List Subject: Re: Too many open files error On Wed, Aug 24, 2011 at 17:21, Campbell, Lance wrote: > Tomcat 6.0.32 > Java 1.6.27 > Apache 2.0 > RedHat 6.x 64 bit > /proc/sys/fs/file-max = 3233344 > > We experienced an issue where we were getting the

Re: Too many open files error

2011-08-24 Thread Francis GALIEGUE
On Wed, Aug 24, 2011 at 17:21, Campbell, Lance wrote: > Tomcat 6.0.32 > Java 1.6.27 > Apache 2.0 > RedHat 6.x 64 bit > /proc/sys/fs/file-max = 3233344 > > We experienced an issue where we were getting the error "too many open files" > in tomcat.  The server manager increase the amount of open fil

Re: Too many open files error -- using tomcat 6.0.14 on RHEL 4

2007-11-16 Thread Filip Hanik - Dev Lists
Since you are on a Linux system, use a little utility called "lsof" This one will list all the file descriptor associated with your process. When you get the output, it will point you to where you are using up all your file descriptors. Also, check your "ulimit -n" setting for the user running

Re: Too Many Open Files error

2007-10-20 Thread Filip Hanik - Dev Lists
ubject: Re: Too Many Open Files error Thanks Jim, It was previously set to 1024, and I quadrupled it. When you say ulimit is persistent will it persist across a reboot? I don't seem to have the command lsof, I'll try and apt-get it. Cheers Dan Jim Cox wrote: On 10/19/07, Daniel M

Re: Too Many Open Files error

2007-10-19 Thread Nix Hanwei
Hi Dan, You can try sysctrl.conf file. Add in the ulimit -n for open files. - Original Message From: Daniel M Garland <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Friday, 19 October 2007 9:43:00 Subject: Re: Too Many Open Files error Thanks Jim, It was previously set to 102

Re: Too Many Open Files error

2007-10-19 Thread Jim Cox
On 10/19/07, Daniel M Garland <[EMAIL PROTECTED]> wrote: > Thanks Jim, > > It was previously set to 1024, and I quadrupled it. When you say ulimit > is persistent will it persist across a reboot? > > I don't seem to have the command lsof, I'll try and apt-get it. > > Cheers > Dan The settings shou

Re: Too Many Open Files error

2007-10-19 Thread Daniel M Garland
Thanks Jim, It was previously set to 1024, and I quadrupled it. When you say ulimit is persistent will it persist across a reboot? I don't seem to have the command lsof, I'll try and apt-get it. Cheers Dan Jim Cox wrote: On 10/19/07, Daniel M Garland <[EMAIL PROTECTED]> wrote: Should I the

Re: Too Many Open Files error

2007-10-19 Thread Jim Cox
On 10/19/07, Daniel M Garland <[EMAIL PROTECTED]> wrote: > Should I then place ulimit -n in the catalina startup scripts? Setting a limit with ulimit is "sticky" (i.e. persistent), so there's no need to stick it in the startup script. However, you didn't answer the previous two questions abo

Re: Too Many Open Files error

2007-10-19 Thread Daniel M Garland
Should I then place ulimit -n 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 o

Re: Too Many Open Files error

2007-10-18 Thread Jim Cox
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.to

Re: Too Many Open Files error

2007-10-18 Thread Peter Bauer
Am Donnerstag 18 Oktober 2007 schrieb Daniel M Garland: > 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.tom