Skip to content

How to Resolve Too many open files AH00132: file permissions deny server access

Saw some errors in httpd log:

[Sat Jun 10 18:20:54.048569 2017] [core:error] [pid 5596] (24)Too many open files: [client] AH00132: file permissions deny server access: /var/www/html/logo.png, referer:

Please check the resource limit on open files. This includes hard limit and soft limit.

[root@test ~]# ulimit -H -n
[root@test ~]# ulimit -S -n


It could be too small to support current traffic volume. We should double the value of limitation.

[root@test ~]# ulimit -H -n 8192
[root@test ~]# ulimit -S -n 8192

Verify all limits are set.

[root@test ~]# ulimit -H -n
[root@test ~]# ulimit -S -n

Then restart httpd server. It solved.

Leave a Reply

Your email address will not be published. Required fields are marked *