Websites show 502 Bad Gateway while changes are performed to websites configurations and many orphaned php-cgi processes are running

Created:

2017-03-28 06:56:23 UTC

Modified:

2017-08-08 13:26:15 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Websites show 502 Bad Gateway while changes are performed to websites configurations and many orphaned php-cgi processes are running

Applicable to:

  • Plesk Onyx for Linux

Symptoms

  1. Many orphaned php-cgi processes causing memory issues.

  2. The following errors can be found in /var/log/httpd/error_log :

    [Sun Mar 19 04:53:06 2017] [warn] mod_fcgid: process 9126 graceful kill fail, sending SIGKILL
    [Sun Mar 19 05:53:07 2017] [error] mod_fcgid: process /var/www/cgi-bin/cgi_wrapper/cgi_wrapper(27255) exit(communication error), get unexpected signal 11
    [Sun Mar 19 10:29:58 2017] [error] mod_fcgid: process /var/www/cgi-bin/cgi_wrapper/cgi_wrapper(17210) exit(communication error), get unexpected signal 11
    [Sun Mar 19 12:00:10 2017] [error] mod_fcgid: process /var/www/cgi-bin/cgi_wrapper/cgi_wrapper(30952) exit(communication error), get unexpected signal 11
    [Sun Mar 19 13:14:05 2017] [notice] SIGHUP received.  Attempting to restart

  3. There are 1000+ domains on the server.

Cause

The issue is submitted as a bug #PPPM-5831 which will be fixed in Plesk Onyx 17.5.

Resolution

Please consider upgrading to Plesk Onyx 17.5.

As a workaround, replace /usr/local/psa/admin/bin/apache_control_adapter file with a fixed copy taken from a test server with Plesk Onyx 17.5. Please note that the OS version should be the same.

Have more questions? Submit a request
Please sign in to leave a comment.