|
|
Re: CPU usage/load on host [message #24197 is a reply to message #24191] |
Mon, 03 December 2007 03:17 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
esoterik
Messages: 5 Registered: December 2007
|
Junior Member |
|
|
after a bit of playing around:
running top shows 99% cpu usage for the init process. If I run --cpulimit 20 top shows init running at 20% of the cpu, still giving me a very high load. Running a second VE with a limit of 20 gives me a total cpu usage of 20%, I would have expected it to jump to 40.
viewing from within the 1 idle VE top shows me the same thing. Im wondering if I have some setting wrong, but expectation was that an idle VE on an idle HN would have very low CPU usage, and that would ramp up when programs began to run.
Is there some setting/configuration I need to check, or a place that I can see what is causing this init process to actively run as high as I will allow it.
top from within an idle VE: (--cpulimit 20)
top - 08:19:22 up 5 min, 0 users, load average: 0.99, 0.69, 0.31
Tasks: 4 total, 3 running, 1 sleeping, 0 stopped, 0 zombie
Cpu(s): 58.8%us, 41.2%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1048576k total, 3124k used, 1045452k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 25 0 1756 680 592 R 20.0 0.1 1:07.69 init
18210 root 15 0 1772 408 300 R 0.0 0.0 0:00.00 vzctl
18211 root 15 0 2900 1572 1244 S 0.0 0.1 0:00.00 bash
18225 root 15 0 2368 1092 880 R 0.0 0.1 0:00.00 top
I thought I should add I have nothing else installed on this system, its a brand new centos4.5 install with only the openvz modifications to get it to run installed.
Shutting down the only running VE the system returns to near 0% cpu usage and load drops down to near 0 as well. So I know its something to do with OpenVZ, or at least something to do with a VE.
[Updated on: Mon, 03 December 2007 03:20] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|