Websites are loading slowly or fail to load with a 50x error: mod_fcgid: can't apply process slot for /var/www/cgi-bin/cgi_wrapper/cgi_wrapper

Follow

Comments

4 comments

  • Avatar
    TechTown GmbH

    did you tested that solution...??

    after the restart of the apache the value changes back to the original value

  • Avatar
    Artyom Baranov

    @TechTown GmbH

    Hello! I have just tested the solution on my Plesk Onyx (CentOS 7)

    # grep -iR 'FcgidMaxProcesses' /etc/httpd/
    /etc/httpd/conf.d/fcgid.conf: FcgidMaxProcesses 20   <----------------before changing

    # vi /etc/httpd/conf.d/fcgid.conf
    # grep -iR 'FcgidMaxProcesses' /etc/httpd/
    /etc/httpd/conf.d/fcgid.conf: FcgidMaxProcesses 40   <----------------after changing

    # service httpd restart

    # grep -iR 'FcgidMaxProcesses' /etc/httpd/
    /etc/httpd/conf.d/fcgid.conf: FcgidMaxProcesses 40   <----------------after Apache restart

    Please describe a scenario when this setting was changed to original value.

  • Avatar
    Robin Labadie

    These values are not enough to resolve the issue.

    I've seen multiple cases on multiple servers where you need to increase these value as well, and maybe others :

     

    FcgidMaxProcessesPerClass 80

  • Avatar
    Alisa Kasyanova

    @Robin Labadie
    Thank you for your comment. Indeed, in some cases it is needed to increase some of the values to even greater values, it all depends on the server configuration and the server load. However, the best way is to increase values little by little, because setting up very big values may affect the server performance drastically.

Please sign in to leave a comment.

Have more questions? Submit a request