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!

PHP-FPM and Cpanel performance vs php-cgi

Discussion in 'Workarounds and Optimization' started by Jaffery, Sep 6, 2017.

Tags:
  1. Jaffery

    Jaffery Member

    Joined:
    Mar 15, 2011
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    51
    I have a server where I was using PHP-FPM with worker MPM, however recently traffic grew a bit and I found that server is almost non-responsive, on checking found couple of PHP-FPM process using 100% cpu . Tried adjust pool value etc. But no gain, then I switched to cgi handler for PHP and now server can handle that increase traffic without lockup.

    Meanwhile, apache error logs is showing following error with php-fpm
    [mpm_worker:error] [pid 31494:tid 139998474065888] AH00288: scoreboard is full, not at MaxRequestWorkers

    However, switching to PHP-CGI , error is gone. Regarding scoreboard full error, most of the people faced error with event-mpm and that too because of some bug in apache which was supposed to be fixed with 2.4.25 .

    In my cpanel I
    Server version: Apache/2.4.27 (cPanel)

    Any idea if I want to use PHP-FPM , what things I need to fix considering the errors I am seeing ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,897
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice