[PJUG Javamail] What causes "Too many open files" in Tomcat
Nimret Sandhu
nimret at nimret.com
Wed Nov 4 14:47:49 EST 2009
On Wednesday 04 November 2009 11:13:45 am Wayne Carstensen wrote:
> To debug this, I would look for ways to insert strategic thread sleeps
> and gc() calls to see if the problem is delayed (as in more successful
> iterations) or averted altogether. If either of these approaches work,
> my condolences. It may require the added chore of explicitly setting
> variables to null to encourage more thorough minor garbage collections.
> Since this message is coming from Tomcat activities, your hands are
> definitely tied.
>
> Good luck Rob.
>
> - Wayne
at the OS level you can debug this using the 'lsof' command which lists all
open file handles on linux ( see man lsof).
cheers,
--
Nimret Sandhu
http://www.nimret.com
http://www.nimsoft.biz
More information about the Javamail
mailing list