Friday, 13 December 2013

How to fix “Too many open files” or “403 forbidden error” in Apache.

If you face the following difficulty/error in apache error logs, then you need to increase the number of open files by using the following command.

Too many open files

Increase the number of open files limit in /proc/sys/fs/file-max

    echo 572235 > /proc/sys/fs/file-max

I’m just using a sample value. Increase it according to your requirement.


No comments:

Post a Comment