Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > General Support > Topic : 99% CPU usage on KVM VPS, extremely slow boot



Threaded Mode | Print  

 99% CPU usage on KVM VPS, extremely slow boot, New install (5 Replies, Read 8096 times)
postcd
Group: Member
Post Group: Newbie
Posts: 21
Status:
Hello,

i installed Virtualizor yesterday on CentOS 6.9 64bit with KVM kernel. Then i activated Multi Virtualization option in Virtualizor and now i have option to also create OpenVZ VPS.

I created two KVM VPS using Virtualizor pre-created OS images (Centos 6.5 centos 7.x), and i see via VNC console that VPS's boot extremely slow, like maybe 100 times slower than normal and VPS usage per VPS is 99% (i confirmed also via command line).

openvz centos 7 minimal VPS works without problem. so seems KVM related problem

Server has enough CPU, it is Xeon E5-2660
SSD drive, Thin LVM, /dev/vg/thin_pool
kernel: 2.6.32-042stab123.9
Virtualizor 2.9.2, patch 5

Please any ideas which commands to do, what to try to discover cause?
IP: --   

99% CPU usage on KVM VPS, extremely slow boot
chirag
Group: Virtualizor Team
Post Group: Elite Member
Posts: 419
Status:
Hi,

Sir this might happen on multivirt.
Due to these issue we do not recommend this solution to our users.

Because this issue ocuurs from kernel side and which is our of our scope of support.

So if possible create 2 different server for each virt.
Or else you can use Virtuozzo. But that is new in Virtualizor and there are many functionalities which are not available inbuilt in Virtuozzo itself so we can not provide it.

Let us know.

-----------------------
Virtualizor - VPS Control Panel
Follow us on Facebook
IP: --   

99% CPU usage on KVM VPS, extremely slow boot
postcd
Group: Member
Post Group: Newbie
Posts: 21
Status:
Thank you alot for a replies and helping to solve this issue!

I think that the solution for this 99% CPU usage issue on a KVM VPS's on OpenVZ kernel is to leave the "CPU %" value set to "0" inside KVM VPS configuration and inside VPS Plan configuration. As you mentioned in your post.

It may be useful if Virtualizor edit the option (CPU %) description and note that it may cause CPU being overloaded on a KVM VPS that is running on the OpenVZ kernel. Or another option is to fix this issue in the Virtualizor so it do not apply this CPU% option in case one is running OpenVZ kernel and trying to setup it on a KVM VPS/plan.
IP: --   

99% CPU usage on KVM VPS, extremely slow boot
chirag
Group: Virtualizor Team
Post Group: Elite Member
Posts: 419
Status:
Hi,

Sir we will try to find the solution but we do not recommned to use multivirt as it gives errors due to kernel issue.

Let us know for further information.

-----------------------
Virtualizor - VPS Control Panel
Follow us on Facebook
IP: --   

99% CPU usage on KVM VPS, extremely slow boot
postcd
Group: Member
Post Group: Newbie
Posts: 21
Status:
99% CPU usage by KVM was solved by above mentioned fix. But another issue arised:
Quote
error: Failed to create domain from /etc/libvirt/qemu/v100*.xml
error: Unable to create cgroup for v100*: No such file or directory


It seems that Arvind helped to solve this by advising this:
Quote
libvirtd stopped working so you need to do "service libvirtd restart" then you vpses again start working.

Here your vps was not starting because you have added cpu units 500, Minimum requirement is 1000.

In another words, if "Unable to create cgroup" kind of error appear, one may try:
1. opening VPS configuration (and VPS Plans) in Virtualizor and make sure CPU units are set to "1000" (not less) and CPU % set to "0" (in KVM VPS's, OpenVZ seems not to be affected)
2. command "service libvirtd restart"
IP: --   

99% CPU usage on KVM VPS, extremely slow boot
chirag
Group: Virtualizor Team
Post Group: Elite Member
Posts: 419
Status:
Hi,

Sir yes, at the moment those steps should resolve your issue.

Let us know for further information.

-----------------------
Virtualizor - VPS Control Panel
Follow us on Facebook
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 26, 2024, 9:30 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.025