On 18/02/2013 17:05, Radha Krishnan D wrote:
> Hi
> 
> Am sorry, clicked submit by mistake
> 
> The below is the actual problem
> 
> 
> We are running into too many open files  exception on  our production tomcat 
> server for the last 2-3 days.
> 
> We have max threads as 150 and acceptCount as 100 and at one point of time 
> all the 250 threads are busy processing requests  (due to application related 
> issues)

You only have 150 threads, not 250.  150 is not a large number & is in
fact lower than the default.

At 50-60 requests per second, you must serve each request within 0.3s to
avoid queuing requests (ie, using the acceptCount queue).  You should
avoid queueing requests.


> At peak times, when all the threads are busy, new requests are rejected by 
> tomcat.

Expected.


> Nearly 40 mins to 1 hr after the rejections begin, there are too many open 
> files exception coming on the tomcat server..

Maybe this is the real peak.


> The number of file descriptors is 16384 and we are getting 50-60 requests per 
> sec.
> 
> What can be the root cause here.  

Too many possible options, not enough info.


> After rejecting a request, is the socket not closed immediately and this 
> results in pile up of open files or is there some other reason ?
>
> Can any one help us in this regard ?

Please post the Connector configuration from server.xml.  You may
obscure/remove passwords if present.


p

> Thanks,
> D.Radhakrishnan
> 
> 
> -----Original Message-----
> From: André Warnier [mailto:a...@ice-sa.com]
> Sent: 18 February 2013 22:32
> To: Tomcat Users List
> Subject: Re: HTTP rejections and too many open files exception on tomcat
> 
> Radha Krishnan D wrote:
>> Hi,
>>
>> We are running into too many open issues  exception on  our production 
>> systems for the last
> 
> With a lot of guesswork ..
> 
> Google for "ulimit" ?
> Get a bigger server ?
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> This email and any attachments are confidential, and may be legally 
> privileged and protected by copyright. If you are not the intended recipient 
> dissemination or copying of this email is prohibited. If you have received 
> this in error, please notify the sender by replying by email and then delete 
> the email completely from your system. Any views or opinions are solely those 
> of the sender. This communication is not intended to form a binding contract 
> unless expressly indicated to the contrary and properly authorised. Any 
> actions taken on the basis of this email are at the recipient's own risk.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


-- 

[key:62590808]

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

Reply via email to