I assume you tried "ulimit -H -n 65536" in the apachectl, also echo the changed value within the script see the changes are getting affected for the current process. Next is can you see the TCP states of the socket opened, it is quite possible the sockets are opened but not closed correctly hence you upper limit gets exhausted. Please try out the following and update. -A
On Wed, Feb 11, 2009 at 3:25 AM, Fletcher Cocquyt <fcocq...@stanford.edu>wrote: > Hi, my apache 2.0.52 is logging > Too many open files (24) and throwing HTTP error code 500 > > the apachectl script sets the max FD to 65536, > and lsof shows ~20,000 entries for httpd > (about 6000 txt - others are pipes to cronolog) > > It seems like the ulimit is not obeyed, but I echoed the settings after the > apachectl runs at its at the hard limit. > > g...@web-04:~ 1:53pm 51 # lsof | wc -l > 20558 > g...@web-04:~ 1:53pm 52 # lsof | egrep httpd | wc -l > 15978 > > Does anyone have a hint how to make apache happy and use the 64k limit? > > many thanks > > > --------------------------------------------------------------------- > 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-unsubscr...@httpd.apache.org > " from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >