"file descriptors" problem on RedHat 7
I got an interesting case on our RedHat 7 system: often the apache web server fails on its CGI processes with errors like:
AH01215: Error in tempfile() using template /tmp/XXXXXXXXXX:
Could not create temp file /tmp/89R0x3Dl7D
(“drwxrwxrwt. 7 root root 4096 Jul 28 13:02 /tmp”)
With hints from Googling the error I “bring it back” by restart the Apache web server (then apache/CGI resumes normal work). The problem is that I have to restart the apache so often.
The output from “lsof | wc –l” shows it has 19107. This number seems too high? (on my other servers this is like 550 and 3620 respectively. I don’t know much about “file descriptors” and wonder is there anything unusual on the system that I should correct before looking at the options to increase the upper limits?
|