Current time: 04-27-2024, 03:12 PM Hello There, Guest! (LoginRegister)


Post Reply 
PHP_FCGI_MAX_REQUESTS
Author Message
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #1
PHP_FCGI_MAX_REQUESTS
hab mal wieder etwas Probleme mit CPU Load ...
vor 1.0.3 war immer PHP_FCGI_MAX_REQUESTS=200 im fcgi starter (bei den usern) gesetzt, momentan ist dieser Parameter nicht mehr vorhanden ...
ist das richtig so - bzw soll das wegbleiben?
Code:
vorher:
export PHPRC
PHP_FCGI_CHILDREN=2
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=200
export PHP_FCGI_MAX_REQUESTS
exec /usr/bin/php5-cgi

nachher:
export PHPRC
TMPDIR="{WWW_DIR}/{DMN_NAME}/phptmp"
export TMPDIR
PHP_FCGI_CHILDREN=2
export PHP_FCGI_CHILDREN
exec {PHP5_FASTCGI_BIN}
(This post was last modified: 01-09-2010 03:30 AM by fulltilt.)
01-09-2010 02:15 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: PHP_FCGI_MAX_REQUESTS
siehe http://www.isp-control.net/ispcp/ticket/1889

da wurde es geändert...
01-09-2010 02:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #3
RE: PHP_FCGI_MAX_REQUESTS
hm - für /etc/apache2/mods-available/fcgid_ispcp.conf kann ich das soweit nachvollziehen, aber muss nicht PHP_FCGI_MAX_REQUESTS in /var/www/fcgi/users/php5-fcgi-starter der Parameter gesetzt sein?
01-09-2010 02:33 AM
Find all posts by this user Quote this message in a reply
Viktor Offline
Junior Member
*

Posts: 118
Joined: Nov 2006
Reputation: 1
Post: #4
RE: PHP_FCGI_MAX_REQUESTS
(01-09-2010 02:33 AM)fulltilt Wrote:  hm - für /etc/apache2/mods-available/fcgid_ispcp.conf kann ich das soweit nachvollziehen, aber muss nicht PHP_FCGI_MAX_REQUESTS in /var/www/fcgi/users/php5-fcgi-starter der Parameter gesetzt sein?

Hallo,

das würde mich auch interessieren.Rolleyes

Ich bekomme jetzt auf einmal auch viele 500 Fehler.Sad

Gruß
ViktorWink
01-09-2010 08:31 AM
Visit this user's website Find all posts by this user Quote this message in a reply
tomdooley Offline
Development Team
*****
Dev Team

Posts: 332
Joined: Sep 2007
Reputation: 7
Post: #5
RE: PHP_FCGI_MAX_REQUESTS
Hallo,

setzt ihr beide Debian Lenny ein? Eigentlich sollte fcgid dort stabil laufen. Zumindest habe ich die im Ticket angegebenen Kommentare befolgt, und kann sogar seit Umstieg auf das Backport-Paket von fcgid auf PHP_FCGI_CHILDREN verzichten.

Mit Original Etch-Paketen müssen die PHP_FCGI_CHILDREN vorhanden sein. Siehe dazu auch Thread: http://www.isp-control.net/forum/thread-9044.html

Unter Etch gibts leider noch fehlerhafte Pakete von fcgid.
(This post was last modified: 01-09-2010 09:05 AM by tomdooley.)
01-09-2010 09:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: PHP_FCGI_MAX_REQUESTS
Somit müsste die Empfehlung lauten:
etch -> fastcgi mit früheren php-starter
lenny -> fcgid mit entschlackter php-sarter datei...

richtig ???

/J
01-09-2010 09:11 AM
Visit this user's website Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #7
RE: PHP_FCGI_MAX_REQUESTS
hier bei dem System handelt es sich tatsächlich um ein Debian4, PHP fcgid seitdem Update hohe Load bei den php-cgi Prozessen.
Hab mal testweise einige starter wieder geändert und die Load geht zurück ...
Auf dem Lenny macht es bislang keine Probleme - und mit 500ern gab es bei mir vorher weder auf etch noch auf lenny probleme (beide laufen mit fcgid).
Würde auch sagen bei etch sollte das weiter drin bleiben im starter:
PHP_FCGI_MAX_REQUESTS=200
Vieleicht sollte man fastcgi auch ganz rauslassen ... da hatte ich auch mal 500er
(This post was last modified: 01-09-2010 09:39 AM by fulltilt.)
01-09-2010 09:35 AM
Find all posts by this user Quote this message in a reply
Viktor Offline
Junior Member
*

Posts: 118
Joined: Nov 2006
Reputation: 1
Post: #8
RE: PHP_FCGI_MAX_REQUESTS
Hallo,

ich habe Lenny und seit einem Reboot habe ich die Probleme mit dem 500 Error.Sad

Ich habe es jetzt mal so gemacht wie in der Anleitung.

Der Lood ging runter aber mal schauen ob die 500 Error noch kommen.Rolleyes

Gruß
ViktorWink
01-09-2010 09:42 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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