Php keeping cpu at 50% and 1 load?
-
I have had my install of Pfsense running for a few weeks now and have not changed any setting recently, but i have all of a sudden increase in tempertures, and looked into it, seeing that when performing the top command, that php is using most of the processor, keeping the load at 1.0 or a little bit higher, and the cpu around 50-55% usage during idle when it used to be around 1-7% usage when idle and use
Top command result
$ top
last pid: 41084; load averages: 1.00, 1.03, 1.00 up 0+00:53:49 04:25:23
49 processes: 1 running, 44 sleeping, 4 zombieMem: 71M Active, 25M Inact, 130M Wired, 80K Cache, 24M Buf, 3458M Free
Swap: 8192M Total, 8192M FreePID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
28144 root 1 44 0 145M 36788K piperd 1 0:03 0.29% php
259 root 1 76 20 6908K 1384K kqread 0 0:36 0.00% check_reload_status
31402 root 1 44 0 145M 34064K accept 0 0:04 0.00% php
31045 root 1 44 0 24224K 4184K kqread 1 0:01 0.00% lighttpd
78592 root 1 44 0 6844K 1556K select 0 0:01 0.00% miniupnpd
25764 root 1 44 0 5784K 1472K select 1 0:01 0.00% apinger
75995 root 1 44 0 6868K 1316K select 1 0:00 0.00% powerd
36831 nobody 1 44 0 10100K 2960K select 0 0:00 0.00% dnsmasq
1030 root 1 44 0 27568K 4820K bpf 1 0:00 0.00% bandwidthd
66569 root 1 76 20 8296K 1844K wait 1 0:00 0.00% sh
960 root 1 44 0 27568K 4820K bpf 1 0:00 0.00% bandwidthd
2724 root 1 64 20 27568K 4824K bpf 1 0:00 0.00% bandwidthd
2500 root 1 64 20 27568K 4824K bpf 1 0:00 0.00% bandwidthd
746 root 1 44 0 27568K 4952K bpf 1 0:00 0.00% bandwidthd
2048 root 1 64 20 27568K 4956K bpf 1 0:00 0.00% bandwidthd
750 root 1 44 0 27568K 4952K bpf 1 0:00 0.00% bandwidthd
2246 root 1 64 20 27568K 4956K bpf 1 0:00 0.00% bandwidthd
84461 root 1 44 0 6960K 1664K select 0 0:00 0.00% syslogdThanks!
- Jack
-
A common cause of high CPU usage like this is opening the dashboard on some client somewhere and forgetting to close it. Though that would not usually be for more than a day. ;)
Steve