tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Cartwright <>
Subject Re: Too many open files
Date Wed, 03 Jun 2009 20:19:54 GMT
Thanks for your reply Peter.  Initially I was assuming that lsof was not 
showing me files on disk that were being opened and read by servlets.  
However, I've been unable to reproduce that in a more controlled setting.

Since this system has been running for weeks w/o any modification, 
something must be leaking.  I'll keep monitoring and see if I can gather 
more information.


Peter Crowther wrote:
>> From: []
>> Can someone please help to to understand what might cause such an
>> exception?
> File descriptor exhaustion - the process has run out of fds.  Any i/o could use a file
descriptor, whether that's socket to httpd, socket to database or access to a file.  Naively,
I'd expect lsof to show them - what makes you think it isn't?
> If you're lucky, you merely need to find the piece of code that's leaking resources and
fix it - which I accept isn't always the easiest of jobs.  If you're *un*lucky, it's load
related and you've just plain run out.  I'll leave the UNIX specialists to suggest ways of
increasing the number of fds per process, but there have been some recent threads on here.
>                 - Peter
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message