Answer the question
In order to leave comments, you need to log in
How to increase the limit of open files from Apache?
Hello!
Warnings and errors appeared in the Apache log of the following nature:
PHP Warning: require_once: failed to open stream: Too many open files
fs.file-max = 100000
* soft nproc 65535
* hard nproc 65535
* soft nofile 65535
* hard nofile 65535
su apache -s /bin/sh
ulimit -a
...
open files (-n) 65535
...
cat /proc/5346/limits
...
Max open files 1024
...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question