Current time: 05-05-2024, 04:05 AM Hello There, Guest! (LoginRegister)


Post Reply 
php5-cgi 100% cpu last
Author Message
Hateman Offline
Junior Member
*

Posts: 94
Joined: Apr 2008
Reputation: 0
Post: #1
php5-cgi 100% cpu last
Hallo zusammen,

ich bin vom ServerSupportForum.de nach hier verwiesen worden, da ich ein Problem mit ispCP habe. Seht selber...

http://serversupportforum.de/forum/dediz...ieren.html

Ich hab das Problem seit drei Tagen, selbst nach einer neuen Installation von RC7 ohne Erfolg. Sollten noch andere Infos gebraucht werden, bitte melden.
12-22-2008 07:04 PM
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: php5-cgi 100% cpu last
Hallo Hateman

Es kommt bei mir auch gelegentlich vor, dass PHP-Prozesse nicht sterben, sondern dann das System stark belasten - allerdings auf 4 Servern nur einmal alle paar Wochen/Monate.

Du nutzt noch fastcgi - vielleicht kann fcgi das Problem lösen?

Ansonsten gibts hier im Forum Hinweise, wie man die alten php-Prozesse killt, bevor neue gestartet werden...

/J
12-22-2008 07:28 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #3
RE: php5-cgi 100% cpu last
... und auf die Version achten. Afaik tritt das Problem nur mit 5.2.0-x Versionen auf aber nicht mit den neueren 5.2.6 jedenfalls bei mir nicht mehr.
12-22-2008 08:31 PM
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: #4
RE: php5-cgi 100% cpu last
[addendum zu Post 3]
... PHP-versionen... :-)
12-22-2008 08:33 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Hateman Offline
Junior Member
*

Posts: 94
Joined: Apr 2008
Reputation: 0
Post: #5
RE: php5-cgi 100% cpu last
Hallo,

erstmal danke. Gibt es irgendetwas zu beachten, dass ich nach einer Umstellung auf 5.2.6 nicht mehr rückkängig machen kann?

MfG

David
12-22-2008 08:46 PM
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: php5-cgi 100% cpu last
hoffentlich die 100% Auslastung :-)

Sorry, keine Ahnung. Kommt wohl etwas drauf an, wie du aktualisierst...

Ich würde jedenfalls ein Backup von /etc und ggf. anderem anlegen :-)

Gruss J
12-22-2008 08:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #7
RE: php5-cgi 100% cpu last
hm,

zu beachten ist auf jeden Fall wenn du irgendwelche 3rd Party php-module installiert hast ala
ZendOptimizer oder auch IonCube, Eaccelerator usw...
die wirst du danach nochmal neu übersetzen / kompilieren müssen.
Aber sonst alles wie immer (Debian wird dich beim upgrade brav fragen ob die configs überschrieben werden sollen oder nicht (Default : Nein) ) usw...
12-22-2008 08:58 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Hateman Offline
Junior Member
*

Posts: 94
Joined: Apr 2008
Reputation: 0
Post: #8
RE: php5-cgi 100% cpu last
Hallo zusammen,

nachdem ich nun das Update erfolgreich abgeschlossen habe und die Seite wieder online gestellt habe, bekomme ich nun wieder eine CPU-Last von 90 - 100 % PHP-Version 5.2.8.

Gruß
12-22-2008 11:57 PM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #9
RE: php5-cgi 100% cpu last
hm - tja - evt. magst du mal ein strace auf die betreffenden prozesse machen.

Nicht immer kann man davon ausgehen, dass php applikationen sauber geschrieben sind.
Vielleicht ist auch einfach nur ein wenig viel Last auf der Kiste.

Hast du mal geschaut was passiert, wenn du einen Php-byte-code-cache installierst ?
(z.B. apc, xcache, eaccelerator ? )
12-23-2008 03:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #10
RE: php5-cgi 100% cpu last
Bei mir hat die Umstellung von FastCGI auf fcgid einiges gebracht.
Die PHP Zombie Prozesse waren damit weg.

Greez BeNe
12-23-2008 04:33 PM
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)