Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Upgraded from 2.6 to 3.1 kernel (hybrid from cloudlinux) and cpanel_php_fpm is failing)

Discussion in 'General Discussion' started by Hedloff, Feb 26, 2017.

  1. Hedloff

    Hedloff Well-Known Member

    Joined:
    Jun 7, 2004
    Messages:
    112
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    Up north!
    cPanel Access Level:
    DataCenter Provider
    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. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    907
    Likes Received:
    13
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    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
     
  3. Hedloff

    Hedloff Well-Known Member

    Joined:
    Jun 7, 2004
    Messages:
    112
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    Up north!
    cPanel Access Level:
    DataCenter Provider
    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.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you verify which version of cPanel is installed on this system? You can check with a command such as:

    Code:
    cat /usr/local/cpanel/version
    Thank you.
     
Loading...

Share This Page