After upgrading kernel from normal to hybrid kernel:
2.6.32-673.26.1.lve1.4.20.el6.x86_64 to 3.10.0-427.18.2.lve1.4.38.el6h.x86_64
I keep getting emails like this:
Startup Log
[26-Feb-2017 13:44:24] ERROR: failed to create new listening socket: socket(): Too many open files (24)
[26-Feb-2017 13:44:24] ERROR: FPM initialization failed
Is the hybrid kernel actually using so many more files than a normal kernel all the time?
What should limit be?
Should we add the rlimit in this file:
/usr/local/cpanel/etc/php-fpm.conf ?
Or this one:
cat /proc/sys/fs/file-max
32768
Should this be increased?
2.6.32-673.26.1.lve1.4.20.el6.x86_64 to 3.10.0-427.18.2.lve1.4.38.el6h.x86_64
I keep getting emails like this:
Startup Log
[26-Feb-2017 13:44:24] ERROR: failed to create new listening socket: socket(): Too many open files (24)
[26-Feb-2017 13:44:24] ERROR: FPM initialization failed
Is the hybrid kernel actually using so many more files than a normal kernel all the time?
What should limit be?
Should we add the rlimit in this file:
/usr/local/cpanel/etc/php-fpm.conf ?
Or this one:
cat /proc/sys/fs/file-max
32768
Should this be increased?