CPU usage for user "root" (in WHM>CPU/Memory/MySQL
Usage) has usually been below 6%, then it started climbing and when it hit 15% daily and it began to be highlighted in yellow and red, I decided to investigate...
Code:
User Domain %CPU %MEM Mysql Processes
root 13.82 0.51 1.8 <- This was highlighted yellow
Top Process %CPU 68.5 netstat -nlp
Top Process %CPU 59.0 netstat -nlp
Top Process %CPU 52.3 netstat -nlp
I contacted support and they told me that it's OK for "root" to use 15% CPU and told me to refer to VZPP's resource usage and look out for QoS alerts... i was not convinced however and continued my investigation
One of the programs running this process turned out to be LSM (It is a network socket monitor -
http://www.rfxnetworks.com/lsm.php)
It runs as a cron job (/etc/cron.d/lsm) every 10 minutes
Changing it to run every 30 minutes solved the problem...
User root is back to its usual CPU consumption of around 3% and "netstat -nlp" is no longer among the top processes...
No yellow or red highlights make me more relaxed
P.S.
As for QoS alerts in VZPP, I've seen cpuunits hit the limit many times(see attachment) and it's hitting it right now, but it's not logged in QoS alerts.... why?