High load

Hi all,

iworx.php, bandwidth.php and storage.php are increasing the load on myserver,

here is a typical top on my server
top - 16:51:21 up 22:27, 1 user, load average: 3.14, 5.05, 4.82
Tasks: 177 total, 4 running, 173 sleeping, 0 stopped, 0 zombie
Cpu(s): 93.3% us, 4.2% sy, 0.0% ni, 2.1% id, 0.3% wa, 0.0% hi, 0.1% si
Mem: 2064040k total, 1964376k used, 99664k free, 51476k buffers
Swap: 4176860k total, 224k used, 4176636k free, 701224k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6632 apache 25 0 32320 21m 7268 R 50.7 1.1 0:12.88 httpd
6102 apache 17 0 29020 18m 7328 S 43.5 0.9 0:12.80 httpd
6593 apache 16 0 29092 18m 7380 S 21.3 0.9 0:04.60 httpd
6655 apache 16 0 28788 18m 7276 S 10.2 0.9 0:06.08 httpd
6785 root 17 0 3196 996 744 R 9.3 0.0 0:01.18 top
6767 root 16 0 20068 12m 2852 S 8.4 0.6 0:01.33 php
6727 apache 16 0 27176 16m 7140 R 4.5 0.8 0:00.17 httpd
3786 clamav 16 0 42476 9680 1036 S 1.8 0.5 2:24.40 clamd
474 root 15 0 0 0 0 S 0.3 0.0 3:37.59 kjournald
3429 root 16 0 1712 472 400 S 0.3 0.0 1:33.54 irqbalance
3572 root 16 0 3340 572 480 S 0.3 0.0 2:43.99 nifd
5330 apache 16 0 32552 22m 7332 S 0.3 1.1 0:43.38 httpd
6230 root 16 0 8452 2096 1760 S 0.3 0.1 0:00.39 sshd
6334 apache 15 0 28684 18m 7416 S 0.3 0.9 0:04.54 httpd
6440 apache 16 0 28536 18m 7280 S 0.3 0.9 0:02.69 httpd
6642 apache 15 0 28828 18m 7284 S 0.3 0.9 0:02.75 httpd
1 root 16 0 2168 552 472 S 0.0 0.0 0:01.46 init

Can any one help on what optimization is needed?

load sometimes goes as high as 30 few times a day

I’d make sure you have the latest version of iworx-cp installed. the iworx.php cron job is very lightweight and I doubt that it alone is causing the problems (but could be part of a larger problem by adding load to the system). You can try disabling the main iworx.php “fively” cron job in the nodeworx cron editor and see if it “fixes” the problem but you’ll do this at the cost of bandwidth and storage accounting.

Chris

You can try disabling the main iworx.php “fively” cron job in the nodeworx cron editor and see if it “fixes” the problem but you’ll do this at the cost of bandwidth and storage accounting.

Please can epxlain that?

Thankyou

What it means to me is…

The Iworx cron job that runs every 5 mins to create the graphs and monitor storage / BW. You can go to Cron in nodeworx and disabled the 5 min cron job, but then you will no longer be monitoring the storage and BW.

whats up ifmove that stats every 30 minutes, or hourly?

Good question. Maybe the graphs would still be whole, just not updated very often, but on the other hand when I had a problem with this cron and rebooted, the 5’ly did not fill in the “missing time” from the graph.