You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Robert Mena <rt...@yahoo.com> on 2004/06/04 16:25:29 UTC

[users@httpd] limit of File descriptors?

Hi,

I've been facing a problem for 3 days where my web
site hosted in a linux/apache 1.3.x enviroment
suddenly stops working.

If I restart apache everything is fine for a while.

I looked the error_log and found messages like

[Fri Jun  4 08:53:27 2004] [warn] (24)Too many open
files: unable to open a file descriptor above 15, you
may need to increase the number of descriptors

When the problem was found I ran the following command

cat /proc/sys/fs/file-nr
1936    181     78641

So it seems that the limit has not been reached.

Any ideias ?


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] limit of File descriptors?

Posted by Andrew Miehs <an...@2sheds.de>.
What does ulimit -a say?

As which user are you running apache? What happens when you
su - <apacheuser>
ulimit -a

Andrew

> [Fri Jun  4 08:53:27 2004] [warn] (24)Too many open
> files: unable to open a file descriptor above 15, you
> may need to increase the number of descriptors
>
> When the problem was found I ran the following command
>
> cat /proc/sys/fs/file-nr
> 1936    181     78641
>
> So it seems that the limit has not been reached.
>




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org