Server Administration & Management

Maximum file limit reach while starting Apache

Maximum file limit reach error is occur while we are starting the Apache server at that time you can fix the issue by using root login details.

1. edit /etc/sysctl.conf file

# vi /etc/sysctl.conf

Add following line as
fs.file-max = 22992

Save and exit from the file.

2. You need to run following command from shell to active changes.

# sysctl -p

It will increase the maximum number of open files for your Server.

October 14, 2011 Posted by | Apache, Tips & Tricks | , | Leave a comment