Current time: 09-28-2024, 03:40 PM Hello There, Guest! (LoginRegister)


Post Reply 
php5-cgi Prozesse sterben nicht
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #16
RE: php5-cgi Prozesse sterben nicht
Quote:Ich probiers morgen nochmal aus, denn BeNes .con hilft zwar erstmal, ist aber immer noch nicht das gelbe vom Ei. Kleine hänger gibts bei Belastung durch mehr als nur ein paar User trotzdem noch.
Du könntest noch
Code:
MaxRequestsPerProcess 500
In deine Config aufnehmen wenn Du einen hohe belastung hast.
Code:
Adds a MaxRequestsPerProcess parameter that allows mod_fcgid to exit after handling a certain number of requests, similar to the existing ProcessLifeTime option.

This solves a problem with PHP in FastCGI mode. By default, PHP stops accepting new FastCGI connections after handling 500 requests; unfortunately, there is a potential race condition during the PHP cleanup code in which PHP can be shutting down but still have the socket open, so mod_fcgid under heavy load can send request number 501 to PHP and have it "accepted", but then PHP appears to simply exit, causing errors.

If you are using PHP, you should set it to 500. -1 mean fastcgi process will not exit no matter how many requests it has handled.

Greez BeNe
04-03-2009 07:48 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: php5-cgi Prozesse sterben nicht - BeNe - 04-02-2009, 09:35 PM
RE: php5-cgi Prozesse sterben nicht - BeNe - 04-02-2009, 09:49 PM
RE: php5-cgi Prozesse sterben nicht - BeNe - 04-02-2009, 10:05 PM
RE: php5-cgi Prozesse sterben nicht - BeNe - 04-02-2009, 10:09 PM
RE: php5-cgi Prozesse sterben nicht - BeNe - 04-02-2009, 11:29 PM
RE: php5-cgi Prozesse sterben nicht - BeNe - 04-03-2009 07:48 PM
RE: php5-cgi Prozesse sterben nicht - BeNe - 04-03-2009, 10:23 PM
RE: php5-cgi Prozesse sterben nicht - BeNe - 04-09-2009, 08:05 AM
RE: php5-cgi Prozesse sterben nicht - BeNe - 04-09-2009, 06:29 PM
RE: php5-cgi Prozesse sterben nicht - Knut - 04-09-2009, 09:10 PM
RE: php5-cgi Prozesse sterben nicht - BeNe - 04-28-2009, 10:02 PM
RE: php5-cgi Prozesse sterben nicht - BeNe - 04-28-2009, 11:30 PM
RE: php5-cgi Prozesse sterben nicht - BeNe - 04-29-2009, 12:14 AM
RE: php5-cgi Prozesse sterben nicht - BeNe - 04-29-2009, 03:38 PM

Forum Jump:


User(s) browsing this thread: 6 Guest(s)