arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Terms and Conditions (as VPS Holder)
#12
(06-20-2017, 02:59 PM)xdude Wrote: So what happens when the server needs more power ? Lets say suddenly it needs 45% ? Does this act like a kill switch and shut down the process ?

No, all it does is limit CPU cycles per certain amount in a certain amount of time. (As like 1/100 cycle, in terms of something like that).
Quote:The work of cpulimit is done all in userspace, so it doesn't interfere with the Linux scheduler. Basically, the target process, which you can specify by pid, name, or command line, is continuosly paused and resumed by sending it SIGSTOP and SIGCONT signals. Signals are sent by cpulimit in appropriate moments, based on the limit specified by user and the process statistics read from /proc



Think to it like when you are running a full CPU core, what happens to the programs running on it? They are slower and studders. This is more or less the same proccess, as the Linux scheduler would also do something similar to this (STOP/CONT) when other proccesses need CPU time when a core is full
lockThread Closed 


Messages In This Thread
Terms and Conditions (as VPS Holder) - by perry - 11-10-2016, 10:59 AM
RE: Terms and Conditions (as VPS Holder) - by Mr.Monkey - 06-20-2017, 04:46 PM

Possibly Related Threads…
Thread
Author
Replies
Views
Last Post

person_pin_circle Users browsing this thread: 4 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting