4 ms·
CPU is one of the easiest things to throttle in Xen. there's no reason why the provider should care at all that you are running as much cpu as they let you. P
by lsc 17y ago
CPU is one of the easiest things to throttle in Xen. there's no reason why the provider should care at all that you are running as much cpu as they let you. Proper use of the credit scheduler means this happens without administrator intervention.
You can also gracefully limit disk bandwidth and network bandwidth from the dom0, without ever getting a shell in the DomU.
- Andys 17y agoYes, and this would have been the correct way to fix the situation. Gracefully reduce the available CPU for the offending VPS, and notify the customer. Breaking in is OK as a last resort.
- lsc 17y agoPersonally, I think freezing the domain is preferable to logging in and killing a (likely rather important) process. But then, the discussion is academic. I've never had to shut down a domain to prevent heavy legitimate or runaway process use from harming other users. I have shut down many domains to stop abuse, but that's a very different thing. If you want to examine a compromised disk, you are best off doing so booting off of read-only media then carefully examining the compromised partition, so you want it shut down anyhow.