Websites are loading very slowly: can't apply process slot

Refers to:

  • Plesk for Linux
  • Plesk 12.5 for Windows

Created:

2016-11-16 12:52:11 UTC

Modified:

2017-02-09 07:54:51 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Websites are loading very slowly: can't apply process slot

Symptoms

Some domains need a significant period of time to load and eventually fail with a 500 Internal Server error.

In the domain specific log /var/www/vhosts/domain.tld/logs/error_log , there are the following messages:

[Thu Oct 10 12:52:18 2013] [warn] [client 203.0.113.2] mod_fcgid: can't apply process slot for /var/www/cgi-bin/cgi_wrapper/cgi_wrapper
[Thu Oct 10 12:52:18 2013] [error] [client 203.0.113.2] File does not exist: /var/www/vhosts/domain.tld/httpdocs/owncloud/favicon.ico
[Thu Oct 10 12:52:18 2013] [error] [client 203.0.113.2] File does not exist: /var/www/vhosts/domain.tld/httpdocs/owncloud/owncloud

Cause

FcgidMaxProcesses limit has been reached.

Resolution

  1. Increase the 'FcgidMaxProcesses' value in 'fcgid.conf' . Location of the file is as follows:

    /etc/httpd/conf.d/fcgid.conf for Red Hat-like operating systems,

    /etc/apache2/mods-enabled/fcgid.conf for Debian-like operating systems.

  2. Restart the Apache service:

    for Debian-like operating systems:

    # service apache2 restart

    for Red Hat-like operating systems

    # /etc/init.d/httpd restart
  3. If the above solution did not help, try using Nginx+FPM combination.

    If Nginx and PHP-FPM are installed via autoinstaller ( /usr/local/psa/admin/bin/autoinstaller ), enable PHP processing by Nginx+PHP-FPM for a particular domain:

    alttext alttext 4. Re-create Apache configuration files:

    # /usr/local/psa/admin/bin/httpdmng --reconfigure-all

Additional info

Websites are slow and a warning appears in logs: mod_fcgid: ap_pass_brigade failed

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