• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Question Sometimes problem when update or create subscription

Arnaud

New Pleskian
Sometimes when i create or update subscription, plesk stand bye a lot of time and i must click on a link for stop the process. In the same time i have on all the websties a 502 Bad Gateway Nginx. I have look in the apache logs and i have found that :

[Fri Dec 09 15:28:25.024022 2016] [mpm_event:notice] [pid 18781:tid 140522687436672] AH00489: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g Apache mod_fcgid/2.3.9 configured -- resuming normal operations
[Fri Dec 09 15:28:25.024061 2016] [core:notice] [pid 18781:tid 140522687436672] AH00094: Command line: '/usr/sbin/apache2'
[Fri Dec 09 15:29:54.475030 2016] [mpm_event:notice] [pid 18781:tid 140522687436672] AH00491: caught SIGTERM, shutting down
 
Hi Arnaud,

you should consider to use "mpm_prefork" instead of "mpm_event" at for example: => "Home > Tools & Settings > Apache Web Server"
In addition, you should consider to use a "PHP-FPM" - handler, instead of "FastCGI" at for example: => "Home > Subscriptions > (sub)YOUR-DOMAIN.COM > PHP Settings"
You should consider to increase the "Apache restart interval" ( 60 seconds should be great ) at => "Home > Tools & Settings > Apache Web Server"
You are able to set in your PSA database the option "restart_apache_gracefully = true":
Code:
Commands to use over the ssh - command line ( logged in as user "root" :


Login to your database - server, using the PSA - database:

plesk db


Insert the SQL - value:

INSERT INTO misc VALUES ('restart_apache_gracefully', 'true');


Exit your database - server:

quit
 
Back
Top