Maximum file limit reach while starting Apache

To fix this error, Login to shell using root and make the following changes.

root@shameer[~]#nano /etc/sysctl.conf
Add following line as

fs.file-max = 22992

Then run following command from shell to active changes.

root@shameer[~]#sysctl -p

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