How to increase max file descriptor (nofile ulimit) for Apache httpd on RHEL 6
Issue
- How to increase max file descriptor for httpd ?
- "Too many open files" error occurs.
- Getting errors like below:
(24)Too many open files: couldn't set child process attributes: /var/www/cgi-bin/test.cgi
(24)Too many open files: couldn't spawn child process: /var/www/cgi-bin/test.cgi
Environment
- Red Hat Enterprise Linux 6
- httpd
- jbcs-httpd24
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.