Skip to main content

cPanel php-fpm not restarting

Comments

7 comments

  • rob_gc_12
    Ok couldn't edit the above because your system says it's spam so ill add it here: After the WordPress website is created there is a delay of 2 minutes before the .htaccess file is created (inside the public_html). As soon as these are created the website dies with the '503' error. Even if I try and create it before the apache does it just appends the below and then dies: ``` # php -- BEGIN cPanel-generated handler, do not edit # NOTE this account's php is controlled via FPM and the vhost, this is a place holder. # Do not edit. This next line is to support the cPanel php wrapper (php_cli). # AddType application/x-httpd-ea-php70 .php .phtml # php -- END cPanel-generated handler, do not edit ``` If I manually restart php-fpm after the website dies it works again, or as said before it will start working itself again after 5-10 minutes (I assume when cPanel restarts php-fpm itself). As I don't have a clear time when apache will do this I can't confidently restart php-fpm. So the website always have a downtime when provisioned.
    0
  • rob_gc_12
    Seems the issue is happening on servers upgraded from earlier versions as well.
    0
  • cPanelLauren
    Hi @rob_gc_12 Thank you for reporting this, it looks like we received reports of this issue overnight as well leading to the internal case CPANEL-20179. The issue is marked as critical and our development will be working on resolving it as soon as possible. The only workaround right now is to restart PHP-FPM as you had done already. I would like to know, once you restart PHP-FPM manually after adding an account do you continue to experience issues with it? Thank you,
    0
  • B.K.
    What's the status of this case? This bug has quite some impact and since v70 has been pushed to release I am hoping for an urgent fix. Thanks for the update
    0
  • cPanelLauren
    Hi @B.K. The case remains unresolved at this time. I'll do my best to update here when it is resolved. We will also add updates in our changelogs when they're available. You can check them here: Change Logs - Change Logs - cPanel Documentation
    0
  • cPanelLauren
    Hello, An update was pushed last night to provide a resolution for this. It was pushed to v70.0.42 please let us know if there are any further issues with this once updating Thanks!
    0
  • gfserver
    Ok, thanks very much!
    0

Please sign in to leave a comment.