Re: [EMAIL PROTECTED] Too many open files

2008-10-08 Thread Mohit Anchlia
I am using HttpClient to connect to apache from tomcat for load balancing. I also call HttpMethod.releaseConnection() but still there is a problem. On Tue, Oct 7, 2008 at 6:04 PM, André Warnier [EMAIL PROTECTED] wrote: You are talking about Apache and Tomcat, but unless I am mistaken, what you

[EMAIL PROTECTED] Too many open files

2008-10-07 Thread Mohit Anchlia
I got too many open files on my tomcat server but I see 994 instances following connected to apache: java14130 root 965u IPv4 30842366 TCP localhost:41838-localhost:http (CLOSE_WAIT) java14130 root 966u IPv4 30842367 TCP localhost:41839-localhost:http

Re: [EMAIL PROTECTED] Too many open files

2008-10-07 Thread André Warnier
You are talking about Apache and Tomcat, but unless I am mistaken, what you are showing below as the result of lsof, is only java processes, which cannot be Apache. Are you sure you somehow do not have a loop where Tomcat is connecting back to itself on the http port ? or from Tomcat to Apache

Re: [EMAIL PROTECTED] too many open files

2008-08-28 Thread Michael Sutter
Hello Arnab, thanks for your. I've checked ant the limit is set correct. Nevertheless, during my debugging I found out, that I interpreted the error wrong. I use a Java client to query the service and I always got a AxisFault exception. So I interpreted that the exception is from the service,

Re: [EMAIL PROTECTED] too many open files

2008-08-27 Thread Arnab Ganguly
Hi Michael, Did you tried the following ulimit -S -n `ulimit -H -n` ? This will assign the max open file hard limits value to your soft limit. Can you check the output of ulimit -H -n and ulimit -S -n?Former gives your hard and the latter gives your soft limits respectively. Even if the above step

Re: [EMAIL PROTECTED] too many open files

2008-08-26 Thread Michael Sutter
Hello Arnab, sorry for answering so late, but it took some time to test it. At the beginning of the apachectl script I put ulimit -n 5 and restarted the daemon with the apachectl script. Nevertheless, it don't changed the behavior. The service was running for about 7 - 8 hours and after

[EMAIL PROTECTED] too many open files

2008-08-25 Thread Michael Sutter
Hello list, I have a strange problem with my httpd daemon and hopefully somebody can help me. I'm running a Apache 2.0.49 on a Suse 9.1 and have the mod_axis2 deployed. Inside Axis2 I'm running a service which is queried every ten seconds. After running for some hours, sometimes 2, sometimes

Re: [EMAIL PROTECTED] too many open files

2008-08-25 Thread Arnab Ganguly
Can you try assigning the soft limit value to hard limit value and restart the server.You can put this in apachectl script so that it gets affected for the shell used for Apache. Thanks Arnab On Mon, Aug 25, 2008 at 6:47 PM, Michael Sutter [EMAIL PROTECTED]wrote: Hello list, I have a strange

[EMAIL PROTECTED] Too Many Open Files

2006-12-29 Thread Kerry Wilson
I am getting the following critical error throughout my log files: (24)Too many open files: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable /var/www/.htaccess does not exist I suspect the problem is caused b/c the server has reached the maximum open

Re: [EMAIL PROTECTED] Too Many Open Files

2006-12-29 Thread Sean Conner
It was thus said that the Great Kerry Wilson once stated: I am getting the following critical error throughout my log files: (24)Too many open files: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable /var/www/.htaccess does not exist I suspect the

AW: AW: AW: AW: AW: [EMAIL PROTECTED] Too many open files ...

2005-08-05 Thread Oliver Kirchel
] Too many open files ... It was thus said that the Great Oliver Kirchel once stated: Hi Sean, I have good news and bad news. First, the good news - it works now. The bad news are that I get now in my error.log this message: [Wed Aug 3 02:50:03 2005] [warn] send body

Re: AW: AW: AW: AW: [EMAIL PROTECTED] Too many open files ...

2005-08-04 Thread Sean Conner
It was thus said that the Great Oliver Kirchel once stated: Hi Sean, I have good news and bad news. First, the good news - it works now. The bad news are that I get now in my error.log this message: [Wed Aug 3 02:50:03 2005] [warn] send body: filedescriptor (1031) larger than FD_SETSIZE

AW: AW: AW: AW: [EMAIL PROTECTED] Too many open files ...

2005-08-01 Thread Oliver Kirchel
: [EMAIL PROTECTED] Too many open files ... It was thus said that the Great Oliver Kirchel once stated: Hi Sean, I put it into /etc/init.d/apache2. How can I control if the ulimit is now 2048. If I do ulimit -n after restarting the apache it still shows 1024. Yes, that's expected

AW: AW: AW: [EMAIL PROTECTED] Too many open files ...

2005-07-30 Thread Oliver Kirchel
@httpd.apache.org Betreff: Re: AW: AW: [EMAIL PROTECTED] Too many open files ... It was thus said that the Great Oliver Kirchel once stated: Hi, how can I raise the files per process. If I do umilit -n it shows 1024. Maybe its to less. You give ulimit -n a value, like ulimit -n 2048

Re: AW: AW: AW: [EMAIL PROTECTED] Too many open files ...

2005-07-30 Thread Sean Conner
It was thus said that the Great Oliver Kirchel once stated: Hi Sean, I put it into /etc/init.d/apache2. How can I control if the ulimit is now 2048. If I do ulimit -n after restarting the apache it still shows 1024. Yes, that's expected, but I'm not sure if I can explain why in less than

AW: AW: [EMAIL PROTECTED] Too many open files ...

2005-07-29 Thread Oliver Kirchel
] Too many open files ... It was thus said that the Great Oliver Kirchel once stated: Hi, if I do this more /proc/sys/fs/file-max I get the value 104857. With the command /proc/sys/fs/file-nr I get these values: 3744 1184 104857 I checked these values the last twelve hours

Re: AW: AW: [EMAIL PROTECTED] Too many open files ...

2005-07-29 Thread Sean Conner
It was thus said that the Great Oliver Kirchel once stated: Hi, how can I raise the files per process. If I do umilit -n it shows 1024. Maybe its to less. You give ulimit -n a value, like ulimit -n 2048. What I did was I found the startup script (usually something like /etc/init.d/httpd

RE: [EMAIL PROTECTED] Too many open files ...

2005-07-28 Thread Boyle Owen
-Original Message- From: Oliver Kirchel [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 28. Juli 2005 07:57 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Too many open files ... Hello, I get this error in my error logfile: (24)Too many open files: couldn't spawn child

AW: [EMAIL PROTECTED] Too many open files ...

2005-07-28 Thread Oliver Kirchel
:[EMAIL PROTECTED] Gesendet: Donnerstag, 28. Juli 2005 08:13 An: users@httpd.apache.org Betreff: RE: [EMAIL PROTECTED] Too many open files ... -Original Message- From: Oliver Kirchel [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 28. Juli 2005 07:57 To: users@httpd.apache.org

Re: AW: [EMAIL PROTECTED] Too many open files ...

2005-07-28 Thread Sean Conner
It was thus said that the Great Oliver Kirchel once stated: Hi, if I do this more /proc/sys/fs/file-max I get the value 104857. With the command /proc/sys/fs/file-nr I get these values: 3744 1184 104857 I checked these values the last twelve hours. The file numbers never reach the maximum.

[EMAIL PROTECTED] Too many open files ...

2005-07-27 Thread Oliver Kirchel
Hello, I get this error in my error logfile: (24)Too many open files: couldn't spawn child process: /usr/local/httpd/epaper/cgi-bin/eZeitung The user who is trying to access this site is getting this error: The server encountered an internal error or misconfiguration and was unable to