Re: Tomcat 5.0.28 reaches OS open files limit

2006-06-02 Thread Edoardo Causarano

Hmm... I'll check. Thanks

e


2006/5/26, [EMAIL PROTECTED] [EMAIL PROTECTED]:


 I have a problem with some tomcat servers that regularly start thowing
 exceptions about too many open files (the stacktrace is in a network
socket
 aperture). One solution is increasing the ulimit but would disabling
http
 keepalives reduce the open file count?

Do you use Runtime.getProcess() anywhere?  That opens three file handles
that you have to close (stdin, stdout, stderr).   I ran into this
problem myself a while ago.

_M_



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Le montagne sono così: devi assecondarle anche se ti sputano in faccia fiele
e veleno.
Perdi se pensi di essere più forte.
Vinci se pensi che non c'è nessuna battaglia.
- Hans Kammerlander


RE: Tomcat 5.0.28 reaches OS open files limit

2006-05-26 Thread mnoel
 I have a problem with some tomcat servers that regularly start thowing 
 exceptions about too many open files (the stacktrace is in a network socket 
 aperture). One solution is increasing the ulimit but would disabling http 
 keepalives reduce the open file count?

Do you use Runtime.getProcess() anywhere?  That opens three file handles
that you have to close (stdin, stdout, stderr).   I ran into this
problem myself a while ago.

_M_



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 5.0.28 reaches OS open files limit

2006-05-24 Thread Edoardo Causarano
Hello list,

I have a problem with some tomcat servers that regularly start thowing 
exceptions about too many open files (the stacktrace is in a network socket 
aperture). One solution is increasing the ulimit but would disabling http 
keepalives reduce the open file count?

tnx,
e

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.0.28 reaches OS open files limit

2006-05-24 Thread Dirk Moolman
I don't know which parameter it is, but how about increasing the kernel
parameter that handles open files ?Unless your application just
keeps growing in terms of open files, and you need to start killing off
processes like you mentioned with the http keepalives.


-Original Message-
From: Edoardo Causarano [mailto:[EMAIL PROTECTED] 
Sent: 24 May 2006 12:47 PM
To: Tomcat Users List
Subject: Tomcat 5.0.28 reaches OS open files limit

Hello list,

I have a problem with some tomcat servers that regularly start thowing 
exceptions about too many open files (the stacktrace is in a network
socket 
aperture). One solution is increasing the ulimit but would disabling
http 
keepalives reduce the open file count?

tnx,
e

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



The information on this e-mail including any attachments relates to the 
official business of DigiCare (Pty) Ltd. The information is confidential and 
legally privileged and is intended solely for the addressee. Access to this 
e-mail by anyone else is unauthorised and as such any disclosure, copying, 
distribution or any action taken or omitted in reliance on it is unlawful. 
Please notify the sender immediately if it has inadvertently reached you and do 
not read, disclose or use the content in any way. 

No responsibility whatsoever is accepted by DigiCare (Pty) Ltd if the 
information is, for whatever reason, corrupted or does not reach its intended 
destination. The views expressed in this e-mail  are the views of the 
individual sender and should in no way be construed as the views of DigiCare 
(Pty) Ltd, except where the sender has specifically stated them to be the views 
of DigiCare (Pty) Ltd.



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 5.0.28 reaches OS open files limit

2006-05-24 Thread Edoardo Causarano
Very strangely, applying maxKeepAliveRequests=1 will cause an apparently 
unrelated exception: Tomcat will complain it cant find the Oracle jdbc 
drivers nowhere in the library path. I don't understand this...

e
 
Alle 14:45, mercoledì 24 maggio 2006, Dirk Moolman ha scritto:

 I don't know which parameter it is, but how about increasing the kernel
 parameter that handles open files ?Unless your application just
 keeps growing in terms of open files, and you need to start killing off
 processes like you mentioned with the http keepalives.


 -Original Message-
 From: Edoardo Causarano [mailto:[EMAIL PROTECTED]
 Sent: 24 May 2006 12:47 PM
 To: Tomcat Users List
 Subject: Tomcat 5.0.28 reaches OS open files limit

 Hello list,

 I have a problem with some tomcat servers that regularly start thowing
 exceptions about too many open files (the stacktrace is in a network
 socket
 aperture). One solution is increasing the ulimit but would disabling
 http
 keepalives reduce the open file count?

 tnx,
 e

 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 The information on this e-mail including any attachments relates to the
 official business of DigiCare (Pty) Ltd. The information is confidential
 and legally privileged and is intended solely for the addressee. Access to
 this e-mail by anyone else is unauthorised and as such any disclosure,
 copying, distribution or any action taken or omitted in reliance on it is
 unlawful. Please notify the sender immediately if it has inadvertently
 reached you and do not read, disclose or use the content in any way.

 No responsibility whatsoever is accepted by DigiCare (Pty) Ltd if the
 information is, for whatever reason, corrupted or does not reach its
 intended destination. The views expressed in this e-mail  are the views of
 the individual sender and should in no way be construed as the views of
 DigiCare (Pty) Ltd, except where the sender has specifically stated them to
 be the views of DigiCare (Pty) Ltd.



 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Edoardo Causarano
Direzione Operazioni  Tecnologia
Area Sistemi
 
Laziomatica S.p.A.
Via Adelaide Bono Cairoli, 68
00145 Roma
mobile: ---
fisso: +39 0651689829
[EMAIL PROTECTED]
www.laziomatica.it

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]