How to increase max file descriptor (nofile ulimit) for Apache httpd on RHEL 6

Solution Verified - Updated -


  • 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


  • Red Hat Enterprise Linux 6
  • httpd
  • jbcs-httpd24

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In