High CPU usage
-
I have a Dell 2950 with 2 X Xeon 2.0 Ghz procs 4GB of RAM 3 X Intel nics with the 2 inbuild ones all in use. I have Squid and Squid Guard is installed and the CPU perminatly flat lines at 25% - 50% CPU usage with no traffic. Does anyone have any ideas why.
-
try "top" and see if you notice anything that´s hogging up cpu there
/F
-
$ top
last pid: 85328; load averages: 1.04, 1.01, 1.11 up 0+02:56:55 17:28:16
80 processes: 2 running, 78 sleepingMem: 125M Active, 137M Inact, 109M Wired, 112M Buf, 2885M Free
Swap: 8192M Total, 8192M FreePID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
74400 root 1 105 0 1956K 1108K CPU1 1 28:01 99.02% slbd
72701 root 1 -8 0 18588K 17340K piperd 3 0:08 1.76% php
1432 proxy 22 20 0 77256K 73852K kserel 0 0:53 0.00% squid
67529 root 1 4 0 23700K 22388K accept 1 0:05 0.00% php
1481 proxy 1 4 0 34360K 6048K sbwait 3 0:04 0.00% squidGuard
785 root 1 4 0 3684K 2748K kqread 0 0:04 0.00% lighttpd
53154 root 1 8 20 1772K 1140K wait 0 0:01 0.00% sh
74296 root 8 20 0 1956K 1164K kserel 3 0:00 0.00% slbd
208 root 1 96 0 1440K 1016K select 3 0:00 0.00% syslogd
1467 proxy 1 4 0 1692K 1212K sbwait 0 0:00 0.00% dnsserver
1495 root 1 8 20 1272K 720K nanslp 3 0:00 0.00% check_reload_status
920 root 1 96 0 3344K 2700K select 0 0:00 0.00% racoon
306 root 1 -58 0 3968K 2224K bpf 0 0:00 0.00% tcpdump
1489 proxy 1 96 0 1604K 1128K select 0 0:00 0.00% pinger
1237 root 1 8 0 1720K 1084K wait 1 0:00 0.00% sh
1485 proxy 1 4 0 34360K 6008K sbwait 0 0:00 0.00% squidGuard
1442 proxy 1 96 0 1604K 1120K select 3 0:00 0.00% pinger
1471 root 1 8 0 1720K 1088K wait 0 0:00 0.00% sh -
So, that must be slbd not squidGuard or squid. SLBD is the load balancer.
-
Is this a known problem with dual core and dual proc machines?
-
If I remember correctly from previously issue, SLBD can randomly run wild. After a reboot it could run normal for weeks.
As 1.2.1 is to be released i would recommend a upgrade.