Mod_fcgid Can't Apply Process Slot For
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
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. Websites on Plesk server are slow or PHP mail cannot be sent: modfcgid: appassbrigade failed. Modfcgid: can't apply process slot for /var/www/cgi-bin/cgi.
Description: | Provides for execution of FastCGI applications |
---|---|
Status: | External |
Module Identifier: | fcgid_module |
Source File: | mod_fcgid.c |
Compatibility: | Apache 2.0 and higher |
Summary
Any program assigned to the handler fcgid-script
is processed using the FastCGI protocol; mod_fcgid
starts a sufficient number instances of the program to handle concurrent requests, and these programs remain running to handle further incoming requests. This is significantly faster than using the default mod_cgi or mod_cgid modules to launch the program upon each request. However, the programs invoked by mod_fcgid
continue to consume resources, so the administrator must weigh the impact of invoking a particular program once per request against the resources required to leave a sufficient number of instances running continuously.
Mod_fcgid Can't Apply Process Slot Form
The pool of fcgid-invoked programs is shared between all httpd workers. Configuration directives below let the administrator tune the number of instances of the program that will run concurrently.
Specific executables are assigned this handler either by having a name containing an extension defined by the AddHandler directive, or with an override using the SetHandler directive (e.g., for all files in a specific directory such as cgi-bin).
Mod_fcgid Can't Apply Process Slot For Mac
Some changes have been made in the ASF release of mod_fcgid which can affect existing configurations. All documentation refers to new names for the directives. (The old names still work but are now deprecated.) Please read the Upgrade Notes for details.
For an introduction to using CGI scripts with Apache, see the generic tutorial on Dynamic Content with CGI.
mod_fcgid
requires mod_unixd to be loaded before itself in the httpd config.