Ok, lsof -p <pid> (IIRC) should do the trick, it will tell all the handles open 
for that process, and you can deduce where the problem stems from

> -----Original Message-----
> From: David Wall [mailto:d.w...@computer.org]
> Sent: Wednesday, May 02, 2012 2:48 PM
> To: users@tomcat.apache.org
> Subject: Re: Tomcat 7 NIO Socket accept failed - Too many open files
> 
> 
> 
> On 5/2/2012 12:34 PM, Pid * wrote:
> > It's an OS issue: google 'ulimit'.
> >
> >
> > p
> 
> Yes, I am familiar with ulimit -Sn (it's 1024), but I suspect this could
> be a Tomcat issue somehow opening too many files and/or not releasing
> them.  I had never seen this issue before we upgraded from Tomcat 5.5
> (all using BIO) to Tomcat 7.0 (all using NIO).  We run on lots of
> servers, and none have shown this error before (and they are all Linux
> servers all set to 1024 for open files).  But we will give it a try by
> setting to a higher number.
> 
> The reason we suspect it's Tomcat is that we're getting other
> exceptions, too, those that indicate our session/request objects are not
> valid when our JSPs are running (and of course work fine when the loads
> are normal, but start to fail when we push lots of concurrent requests
> at Tomcat).
> 
> David
> 
> ---------------------------------------------------------------------
> 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