logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache+FastCGI - mod fcgid: can't apply process slot
Author
vbgamer45



Joined: 06 Jul 2011
Posts: 2

PostPosted: Wed 06 Jul '11 22:37    Post subject: Apache+FastCGI - mod fcgid: can't apply process slot Reply with quote

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

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 portion 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>
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 07 Jul '11 10:34    Post subject: Reply with quote

Please read mod_fcgid doesn't honor IdleTimeout, MaxRequestsPerProcess
Back to top
vbgamer45



Joined: 06 Jul 2011
Posts: 2

PostPosted: Thu 07 Jul '11 19:49    Post subject: Reply with quote

Thanks for the link. If it works good for the next week will donate to this site.
Back to top


Reply to topic   Topic: Apache+FastCGI - mod fcgid: can't apply process slot View previous topic :: View next topic
Post new topic   Forum Index -> Apache