Forum Moderators: phranque

Message Too Old, No Replies

pache+FastCGI - mod fcgid: can't apply process slot

Windows 2008 - 8 gigs of ram - Latest Apache/PHP

         

vbgamer45

4:20 pm on Jul 6, 2011 (gmt 0)

10+ Year Member



Getting this error a lot. Been trying a bunch of different configs and can't seem to get rid of it

mod_fcgid: can't apply process slot for c:/php/php-cgi.exe

Seems to happen every so often and clears up after about an hour.

Server itself is Windows 2008 with 8 gigs of ram.
Running Apache 2.2.19 with latest php 5.3 nts and wincache php extension.

Apache httpd.conf protion with FastCGI

LoadModule fcgid_module modules/mod_fcgid.so
FcgidInitialEnv PHPRC "c:/php"
AddHandler fcgid-script .php
FcgidWrapper "c:/php/php-cgi.exe" .php
<IfModule fcgid_module>

MaxRequestsPerProcess 1000
DefaultMaxClassProcessCount 120
IdleTimeout 60
MaxProcessCount 2000
IPCCommTimeout 40
IPCConnectTimeout 10
MaxRequestLen 10240000
</IfModule>


# WinNT MPM
# ThreadsPerChild: constant number of worker threads in the server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_winnt_module>
ThreadsPerChild 1900

MaxRequestsPerChild 0
</IfModule>