Mod_fcgid Can't Apply Process Slot For

Posted By admin On 08/04/22

Issue modfcgid: can't apply process slot. MartinErnesto; Jan 20, 2020; Open Topics; Replies 2 Views 614. Question script not found. LoadModule fcgidmodule modules/modfcgid.so Use FastCGI to process.fcg.fcgi &.fpl scripts Don't do this if modfastcgi is present, as it will try to do the same thing AddHandler fcgid-script fcg fcgi fpl. I have install modfcgid using another RPM. And i found, in this way the config file is difrence to other way that installing via yum. Last edited: Nov 9, 2009 bardo, Nov 9, 2009. Modfcgid: can't apply process slot after software upgrade 0 Increasing FcgidMaxProcesses does not help to solve “modfcgid: can't apply process slot” error.

mod_fcgid: can't apply process slot for /usr/local/cpanel/cgi-sys/php5
Searching on the net i found:
This issue commonly occur due to lower value of MaxRequestsPerProcess.
Solution : adjust these with higher values:
MaxRequestsPerProcess 1000
DefaultMaxClassProcessCount 120
IdleTimeout 60
MaxProcessCount 2000
IPCCommTimeout 40
IPCConnectTimeout 10
MaxRequestLen 10240000
My server has a lot of ram and cpu power:
CPU: Intel Xeon
2x E5-2650v2
16c/32t 2,6 GHz+/3,4 GHz+
RAM: 128 GB DDR3 ECC 1600MHz
Please recommend me what values to use for this server so it will not go down after a few days if i get a few more users online ?
Thanks

Table of Contents

This is going to be Parallels Plesk 12.X related. I will share some experience with Linux Plesk problems, tips and tricks.

By default, plesk is using a secured shell for executing user schedule tasks, which in my case is:

/usr/local/psa/bin/chrootsh

Process

This could lead to some problems and cron jobs malfunctioning.

Enabling /bin/bash as as default user shell (server wide) could be done with the following command:

# /usr/local/psa/bin/server_pref –update -crontab-secure-shell /bin/bash

….

If your error_log ( /var/www/vhosts/VHOSTl/logs/error_log ) , has some lines like these:

[Mon Dec 22 15:04:36 2014] [warn] [client xx.yy.xx.yy] mod_fcgid: read data timeout in 45 seconds
[Mon Dec 22 15:04:36 2014] [error] [client xx.yy.xx.yy] Premature end of script headers: index.php

OR these:

Mod_fcgid Can't Apply Process Slot Format

[Tue Dec 09 15:01:24 2014] [warn] [client xx.yy.xx.yy] mod_fcgid: can’t apply process slot for /var/www/cgi-bin/cgi_wrapper/cgi_wrapper
[Tue Dec 09 15:01:36 2014] [warn] [client xx.yy.xx.yy] mod_fcgid: can’t apply process slot for /var/www/cgi-bin/cgi_wrapper/cgi_wrapper
[Tue Dec 09 15:01:44 2014] [warn] [client xx.yy.xx.yy] mod_fcgid: can’t apply process slot for /var/www/cgi-bin/cgi_wrapper/cgi_wrapper

Mod_fcgid Can't Apply Process Slot For Free

Then you probably need to tune a little bit your default mod_fcgid configuration, which resides here:

/etc/httpd/conf.d/fcgid.conf

Here is what I add:

FcgidIOTimeout 5000
FcgidBusyTimeout 5000

/etc/psa/psa.conf - Some plesk related configurations

/etc/psa/.psa.shadow – Shadow password for my sq

# /usr/local/psa/bin/admin –show-password

# mysql -uadmin -p`cat /etc/psa/.psa.shadow`

Create custom template directory

# mkdir /usr/local/psa/admin/conf/templates/custom/domain

Copy the default template to the custom directory

# cp /usr/local/psa/admin/conf/templates/default/domain/nginxDomainVirtualHost.php /usr/local/psa/admin/conf/templates/custom/domain/

..

Mod_fcgid Can't Apply Process Slot For Real

Now you can make some modifications on the custom “nginxDomainVirtualHost.php

Rebuild all vhosts config

Can

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

No related posts.