Upgraded from 2.6 to 3.1 kernel (hybrid from cloudlinux) and cpanel_php_fpm is failing)
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?
-
I would bump that file-max up a lot, our servers are usually >100000 If your using the PHP selector with CloudLinux, its not currently compatible with PHP-FPM 0 -
I will try to increase it and check if that resolves the issue. I know, but we are using PHP-FPM in cPanel that they deliver and that is working fine on CL. 0 -
Hello, Could you verify which version of cPanel is installed on this system? You can check with a command such as: cat /usr/local/cpanel/version
Thank you.0
Please sign in to leave a comment.
Comments
3 comments