[us...@httpd] Too many open files (24) - ulimit not obeyed?

2009-02-10 Thread Fletcher Cocquyt
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

Re: [us...@httpd] Too many open files (24) - ulimit not obeyed?

2009-02-10 Thread Arnab Ganguly
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