Thread: php eating cpu
View Single Post
  #1  
Old 16th June 2007, 23:53
shajazzi shajazzi is offline
Senior Member
 
Join Date: Dec 2005
Posts: 125
Thanks: 2
Thanked 2 Times in 2 Posts
Default php eating cpu

I am running suse 10.0 and have noticed recently that after a couple of days after rebooting the system php starts eating my cpu and everthing become slow.
here is the output of TOP
Any ideas?

top - 22:53:32 up 2 days, 15:02, 3 users, load average: 2.32, 2.24, 1.75
Tasks: 125 total, 3 running, 122 sleeping, 0 stopped, 0 zombie
Cpu(s): 94.0% us, 6.0% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 1993620k total, 1559912k used, 433708k free, 205264k buffers
Swap: 3156720k total, 0k used, 3156720k free, 669076k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6948 root 25 0 27828 7192 3264 R 97.7 0.4 1341:12 php
6864 root 15 0 56444 34m 3120 S 1.7 1.8 5:54.38 X
12362 steve 16 0 5484 1208 852 R 0.3 0.1 0:01.94 top
1 root 16 0 740 280 236 S 0.0 0.0 0:00.78 init
2 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
3 root 10 -5 0 0 0 S 0.0 0.0 0:00.08 events/0
4 root 10 -5 0 0 0 S 0.0 0.0 0:00.02 khelper
5 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread
9 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid
562 root 10 -5 0 0 0 S 0.0 0.0 0:00.02 kblockd/0
599 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
600 root 15 0 0 0 0 S 0.0 0.0 0:00.04 pdflush
602 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0
601 root 25 0 0 0 0 S 0.0 0.0 0:00.00 kswapd0
1196 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 kseriod
1356 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 ata/0
1370 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
1371 root 21 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1
1409 root 15 0 0 0 0 S 0.0 0.0 0:00.31 kjournald
2369 root 15 0 0 0 0 S 0.0 0.0 0:00.00 kjournald
2547 root 13 -4 7128 1072 652 S 0.0 0.1 0:00.90 udevd
2897 root 20 0 0 0 0 S 0.0 0.0 0:00.00 shpchpd_event
3039 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khubd
3432 messageb 16 0 15156 1748 1428 S 0.0 0.1 0:00.32 dbus-daemon
3472 root 16 0 8120 980 732 S 0.0 0.0 0:00.35 syslog-ng
3498 root 16 0 2840 780 436 S 0.0 0.0 0:00.00 klogd
4594 root 18 0 7912 1456 1128 S 0.0 0.1 0:00.01 mysqld_safe
4618 root 16 0 10040 828 676 S 0.0 0.0 0:00.02 resmgrd
4817 mysql 16 0 119m 22m 4132 S 0.0 1.1 6:11.59 mysqld
4832 root 16 0 5824 740 612 S 0.0 0.0 0:00.00 dhcpcd
5067 nobody 15 0 4660 552 444 S 0.0 0.0 0:00.02 portmap
5145 root 15 0 2568 516 428 S 0.0 0.0 0:00.00 courierlogger
5146 root 16 0 12176 688 536 S 0.0 0.0 0:00.00 authdaemond
5150 root 16 0 9056 872 712 S 0.0 0.0 0:00.00 kdm
5162 root 15 0 2572 584 488 S 0.0 0.0 0:00.00 acpid
5182 root 17 0 19904 1492 1160 S 0.0 0.1 0:00.00 saslauthd
5213 root 16 0 16692 884 680 S 0.0 0.0 0:00.05 authdaemond
5214 root 16 0 16692 884 680 S 0.0 0.0 0:00.01 authdaemond
5215 root 16 0 16692 884 680 S 0.0 0.0 0:00.03 authdaemond
5216 root 16 0 16692 884 680 S 0.0 0.0 0:00.02 authdaemond
5217 root 16 0 16692 884 680 S 0.0 0.0 0:00.02 authdaemond
5221 root 18 0 2564 440 368 S 0.0 0.0 0:00.00 courierlogger

and apache error log


[Sat Jun 16 22:15:02 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:15:17 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:15:17 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:17:40 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:17:40 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:17:41 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:17:41 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:18:58 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:18:58 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:20:19 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:20:19 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:26:48 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:26:48 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:31:29 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:31:29 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:32:11 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:32:11 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:37:51 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:37:51 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:48:34 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:48:34 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:48:38 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:48:38 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:55:15 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:55:15 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:56:35 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:56:35 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:56:48 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:56:48 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:57:19 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:57:19 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:57:28 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 22:57:28 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 23:03:01 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 23:03:01 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 23:03:09 2007] [notice] caught SIGTERM, shutting down
[Sat Jun 16 23:05:29 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Sat Jun 16 23:05:32 2007] [notice] Apache/2.0.54 (Linux/SUSE) configured -- resuming normal operations
[Sat Jun 16 23:12:07 2007] [error] an unknown filter was not added: PHP
[Sat Jun 16 23:12:07 2007] [error] an unknown filter was not added: PHP

shajazzi

Last edited by shajazzi; 17th June 2007 at 00:18.
Reply With Quote
Sponsored Links