jlist9
October 19, 2009 04:28PM
Yeah. My workaround was to set PHP_FCGI_MAX_REQUESTS
to 200 since it usually crashes around the 400th request. It's a
performance hit, though, when the PHP process recycles.

>> I'm trying nginx Windows version with PHP in FastCGI mode.
>> It ran fine. Then I tried to bench mark it with Apache ab
>> and I find that PHP (5.2.11) crashes after about 400 requests.
>>
>> Does anyone have similar experience? Any suggestions or fixes?
>> I'm currently putting it in a loop to restart PHP after it crashes.
>>
>> I'm also using nginx with a Python FastCGI server but have
>> no problem with it at all.
>
> Strange it is. Try setting PHP_FCGI_MAX_REQUESTS environment variable to 5
> before php starts.
Subject Author Posted

PHP crashes on Windows

Anonymous User October 19, 2009 04:00AM

Re: PHP crashes on Windows

Volodymyr Kostyrko October 19, 2009 03:22PM

Re: PHP crashes on Windows

jlist9 October 19, 2009 04:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 140
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready