php -c

Apache, Lighttpd, nginx, Cherokee
Post Reply
dohǃ
Posts: 23
Joined: 2005-09-15 23:52
 

php -c

Post by dohǃ »

Hallo,

wieso frisst PHP ziemlich viel CPU Leistung?
Und wieso das "php -c ..."? (PHP 4.3.3, cgi, Zend Optimizer v2.5.3)

Merkwürdig...

Code: Select all

  4:02pm  up 56 min,  1 user,  load average: 6.65, 8.73, 8.16
127 processes: 121 sleeping, 5 running, 0 zombie, 0 stopped
CPU states: 52.6% user, 41.3% system,  0.0% nice,  5.9% idle
Mem:   514388K av,   98036K used,  416352K free,       0K shrd,    5564K buff
Swap:  514072K av,   17656K used,  496416K free                   42756K cached

Code: Select all

13269 usr1  20   0 32596  31M 30544 R     1.1  6.3   0:00 php -c R
13352 usr1  19   0  6584 6580  4116 D     1.0  1.2   0:00 php -c _
13361 usr1  20   0  6356 6352  4108 R     0.8  1.2   0:00 php -c _
13370 usr1  18   0  6068 6064  4092 D     0.7  1.1   0:00 php -c
13372 usr1  20   0  5952 5948  3928 R     0.7  1.1   0:00 php -c Z
13332 usr1  19   0  6256 6252  4096 R     0.6  1.2   0:00 php -c
13378 usr1  20   0 34316  33M 32324 R     0.6  6.6   0:00 php -c
13382 usr1  20   0 31368  30M 29420 R     0.6  6.0   0:00 php -c
13386 usr1  20   0 33392  32M 31444 R     0.6  6.4   0:00 php -c -
13389 usr1  20   0 29640  28M 27732 R     0.5  5.7   0:00 php -c w
13390 usr1  20   0 14584  14M 12588 R     0.5  2.8   0:00 php -c
13392 usr1  20   0  8432 8428  6504 R     0.4  1.6   0:00 php -c m
13393 usr1  20   0  5532 5528  3800 R     0.3  1.0   0:00 php -c
13398 usr1  20   0  6944 6940  5032 R     0.3  1.3   0:00 php -c w
13399 usr1  20   0  5684 5680  3856 R     0.3  1.1   0:00 php -c g
13381 mysql     12   0 10996 9624  4596 S     0.2  1.8   0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysq
13396 mysql     19   0 10996 9624  4596 R     0.2  1.8   0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysq
13401 usr1  20   0  3712 3708  2792 R     0.2  0.7   0:00 php -c N
13402 usr1  14   0  4144 4140  3004 R     0.2  0.8   0:00 php -c
13404 usr1  14   0  3880 3876  2836 R     0.2  0.7   0:00 php -c l
13405 usr1  14   0  3808 3804  2792 R     0.2  0.7   0:00 php -c 0
13407 usr1  14   0  3880 3876  2836 D     0.2  0.7   0:00 php -c
 4162 wwwrun    11   0  7468 5160  4880 S     0.1  1.0   0:01 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
13410 usr1  16   0  3340 3340  2544 R     0.1  0.6   0:00 php -c
13412 usr1  14   0  1952 1952  1444 R     0.1  0.3   0:00 php -c z
13413 usr1  14   0  2472 2472  1920 R     0.1  0.4   0:00 php -c
    1 root       8   0    72   64    40 S     0.0  0.0   0:06 init [3]
oxygen
Posts: 2138
Joined: 2002-12-15 00:10
Location: Bergheim
 

Re: php -c

Post by oxygen »

Sieht wie eine alte SuPHP Version aus. Aktuelle Version einspielen und das Problem ist gelöst.
dohǃ
Posts: 23
Joined: 2005-09-15 23:52
 

Re: php -c

Post by dohǃ »

Aktuelle Version einspielen und das Problem ist gelöst.
Dankeschön!
When I am using suPHP I have zombie processes. What's the problem?
Apache 1.3.28 has a bug in the Apache core which causes CGI processes not to be ended correctly. The bug is first occured in Apache 1.3.28 and is fixed since Apache 1.3.29.
Am Besten Apache (apache-1.3.26-132) auch gleich updaten, aber wo haben sich die RPMs versteckt?

http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/8.1-i386/
Post Reply