1 LXC Makes Server Load 400!

kotakomputer

Renowned Member
May 14, 2012
429
13
83
Jakarta, Indonesia
www.proxmoxindo.com
I really don't understand how LXC works. I have only 10 LXC, CPU usage 20%, but 1 of my LXC has cpu usage 100% and caused Server Load 400!

How to prevent this one LXC overloaded whole server?
This overloaded LXC has Cores = 1, CPU Limit = 0, CPU Units = 1000
 
Hi,

When process in LXC container reach the CPU limit (in tihs case using 100% CPU), it start waiting for CPU time, what cause the high load number. Basically this is normal.
 
Sorry, my bad.
I use KVM for shared servers, where this is an option.
I use LXC only where I have my own instances or where all instances belong to the same user.

When load goes up, do check which resources are lacking. You can check top for waiting percentage - wa (to see if they are waiting for disks) or CPU load.
If you have them waiting for disks, either increase speed of your disks (different setup or hardware) or switch over to KVM and limit IOPS and throughput. What does pveperf say when host is not under load?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!