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 -> Other Software View previous topic :: View next topic
Reply to topic   Topic: PHP FastCGI process does not live full lifecycle
Author
CamaroSS



Joined: 24 Jan 2013
Posts: 78
Location: RF, Tver

PostPosted: Fri 22 Feb '13 14:04    Post subject: PHP FastCGI process does not live full lifecycle Reply with quote

I've set up mod_fcgid as follows:

Code:
FcgidInitialEnv PATH "c:/WebForce/PHP5;C:/WINDOWS/SysWOW64;C:/WINDOWS;C:/WINDOWS/system32;C:/WINDOWS/System32/Wbem;"
FcgidInitialEnv SystemRoot "C:/WINDOWS"
FcgidInitialEnv SystemDrive "C:"
FcgidInitialEnv TEMP "C:/WINDOWS/Temp/P1"
FcgidInitialEnv TMP "C:/WINDOWS/Temp/P1"
FcgidInitialEnv windir "C:/WINDOWS"
FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 5100

FcgidMaxRequestLen 20971520
FcgidMaxRequestInMem 5242880
FcgidOutputBufferSize 4194304
FcgidMaxRequestsPerProcess 5100
FcgidMinProcessesPerClass 5
FcgidMaxProcesses 150
FcgidConnectTimeout 10
FcgidIOTimeout 235
FcgidIdleTimeout 90
FcgidIdleScanInterval 30
FcgidBusyTimeout 245
FcgidBusyScanInterval 20
FcgidErrorScanInterval 3
FcgidZombieScanInterval 1800
FcgidProcessLifeTime 0

FcgidWin32PreventOrphans on


It works well, but, according to the status page, PHP processes almost always exit prematurely:

Pid Active Idle Accesses State
5600 246 2 1131 Exiting(connect error)

What can cause it?
Back to top
CamaroSS



Joined: 24 Jan 2013
Posts: 78
Location: RF, Tver

PostPosted: Mon 25 Feb '13 9:54    Post subject: Reply with quote

Well, I've just switched from XCache to Wincache, and looks like I've found a perfect solution for this box. The error log is idle, FastCGI processes work just fine and are even able to terminate gracefully Smile
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1248
Location: Amsterdam, NL, EU

PostPosted: Mon 25 Feb '13 10:03    Post subject: Reply with quote

CamaroSS wrote:
Well, I've just switched from XCache to Wincache, and looks like I've found a perfect solution for this box. The error log is idle, FastCGI processes work just fine and are even able to terminate gracefully Smile
Just curious: were you using XCache 3.0.0?
Back to top
CamaroSS



Joined: 24 Jan 2013
Posts: 78
Location: RF, Tver

PostPosted: Mon 25 Feb '13 11:04    Post subject: Reply with quote

I was using
XCache-3.0.1-php-5.2.17-nts-Win32-VC6-x86
Back to top


Reply to topic   Topic: PHP FastCGI process does not live full lifecycle View previous topic :: View next topic
Post new topic   Forum Index -> Other Software