Jan,

The limit of open files on linux/unix systems for normal users may be
quite low by default (for example 1024). From my experience, this may
lead to "Too many open files" errors during high load even if your
application is working fine. Try increasing this limit, also check
your application as Chuck suggested.

--
Olaf

2011/2/2 jan gestre <ipcopper...@gmail.com>:
> On Wed, Feb 2, 2011 at 6:26 AM, Caldarale, Charles R
> <chuck.caldar...@unisys.com> wrote:
>>> From: jan gestre [mailto:ipcopper...@gmail.com]
>>> Subject: Re: Optimize CPU Hogging Tomcat 6
>>
>>> Here's a snippet of the thread dump using jstack:
>>
>> Nothing there of any interest; all the ones you showed weren't running and 
>> were therefore not contributing to the CPU usage.
>>
>>> Also, here's my catalina log:
>>
>>> Feb 1, 2011 10:19:04 PM org.apache.tomcat.util.net.JIoEndpoint$Acceptor run
>>> SEVERE: Socket accept failed
>>> java.net.SocketException: Too many open files
>>
>> That looks like something you should take care of...
>>
>> Is your webapp opening files (or sockets) and failing to close them?  
>> Running out of fd numbers will normally be fatal, and is almost always due 
>> to bugs in a webapp.
>>
>> What's your exact Tomcat version, JDK/JRE level, and platform?
>>
>
> hi chuck,
>
> Tomcat's version is 6.0.29, Sun Java JDK 1.6.0_21 and RHEL5, webapp is 
> Alfresco.
>
> Regards,
>
> Jan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to