ispCP - Board - Support
PHP_FCGI_MAX_REQUESTS - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: German Corner (/forum-26.html)
+--- Thread: PHP_FCGI_MAX_REQUESTS (/thread-9133.html)



PHP_FCGI_MAX_REQUESTS - fulltilt - 01-09-2010 02:15 AM

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}



RE: PHP_FCGI_MAX_REQUESTS - joximu - 01-09-2010 02:25 AM

siehe http://www.isp-control.net/ispcp/ticket/1889

da wurde es geändert...


RE: PHP_FCGI_MAX_REQUESTS - fulltilt - 01-09-2010 02:33 AM

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?


RE: PHP_FCGI_MAX_REQUESTS - Viktor - 01-09-2010 08:31 AM

(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


RE: PHP_FCGI_MAX_REQUESTS - tomdooley - 01-09-2010 09:04 AM

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.


RE: PHP_FCGI_MAX_REQUESTS - joximu - 01-09-2010 09:11 AM

Somit müsste die Empfehlung lauten:
etch -> fastcgi mit früheren php-starter
lenny -> fcgid mit entschlackter php-sarter datei...

richtig ???

/J


RE: PHP_FCGI_MAX_REQUESTS - fulltilt - 01-09-2010 09:35 AM

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


RE: PHP_FCGI_MAX_REQUESTS - Viktor - 01-09-2010 09:42 AM

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