I have noticed a weird thing lately with two VPS accounts. Virtuozzo's system usage creeps up to 100% over the course of 24 hours of so and stays there, but stays in the green and I don't get any QoS alerts. The servers both seem to be running fine, and I haven't had any crashes. One VPS is running a few Wordpress blogs. The other is running some Joomla sites.
In the past, when the system usage meter in Virtuozzo got anywhere near 100%, it turned yellow or red, I had sites go down, and all kinds of QoS alerts for privmpages were thrown. It turned out back then that I had a bad PHP script eating tons of memory with too many MySQL queries. That doesn't appear to be the case here, since I'm not having any apparent problems with either server. It seems like a "non-problem" but it has me concerned because I'm used to using that system usage meter in Virtuozzo to keep an eye on the health of the VPS..
When I look at memory used in WHM (WHM->Server Status->Server Status) it shows only 31% used, which is what I used to see in Virtuozzo.
When I look in WHM at Server Status->CPU/Memory/MySQL Usage, the memory adds up to the 31% WHM shows.
When I run free, I get:
Code:
root@server [~]# free
total used free shared buffers cached
Mem: 524288 133804 390484 0 0 0
-/+ buffers/cache: 133804 390484
Swap: 0 0 0
When I run Free, I get:
Code:
root@server [~]# Free
Memory limit...: 8388604 MB (burstable: 8388604 MB)
Current usage..: 120 MB (0%) (requested: 264 MB)
Free memory....: 8388484 MB (100%)
Initially, I suspected it was another problem with MySQL, and restarting MySQL does drop the system usage meter down to 31% in Virtuozzo for a while--without changing the actual memory used on the system processes page--but the memory usage for MySQL with Virtuozzo pegged is only 6.23% in WHM.
Here's the really weird thing: If I look at Virtuozzo->System Processes it shows only 0.4% (I think they mean 40%) of total memory used, half of which is mysqld and the rest is spamd.
With no sign of problems, it looks like Virtuozzo is incorrectly reporting memory usage in the system usage meter, but correctly in the system processes list.