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 <users@tomcat.apache.org>
Sent: Friday, 19 October 2007 9:43:00
Subject: 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 Garland <[EMAIL PROTECTED]> wrote:
>> Should I then place ulimit -n XXXX 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 about (1) how
> many files did Tomcat have open when you got the "Too many open
 files"
> error, and (2) what the current ulimit setting for open files is. If
> you provide those answers people here can help you out a bit more.
> 
> ---------------------------------------------------------------------
> 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]






      
__________________________________ 
Yahoo! Movies - Search movie info and celeb profiles and photos. 
http://sg.movies.yahoo.com/

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