Re: A way to guarentee 2% of CPU not in use?



On 14/06/06, Kenneth P. Turvey <kt-usenet@xxxxxxxxxxxxxxxxxx> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 14 Jun 2006 00:56:12 +0200, Alan McKinnon wrote:

> You can try adjust the various limits for your normal user account in
> /etc/security/limits.conf

Someone should note that it probably wasn't the fact that the CPU was
running at 100% that was the problem. It was probably that a large number
of processes were in contention for CPU time. This could be due to some
process spinning out of control and repeatedly forking new processes
(often referred to as a "fork bomb"). It could have been due to something
completely benign that would have worked itself out if you had just let
the box run for a couple of minutes (still annoying).

As likely as this might be, 20 mins of almost no response is too long
to put up with :-P

--
www.modmeup.net
Ubuntu Dapper 6.06
The less you know, the more you believe. - Bono

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • [SoC] Jail Resource Limits
    ... folks: I've completed the Summer of Code work on the jail resource limits; jails can now have soft-ish limits placed on their memory and CPU usage. ... Briefly, when a jail uses more memory than its limit, pages are clawed back by a new kernel process, jpager. ... When a jail uses more CPU time in proportion to total CPU time used than the number of its CPU usage shares to the total CPU usage shares, its processes are dropped in priority until it's had its fair share of the total CPU time; if there are no other processes that want to run, they'll use up as much CPU time as they otherwise would. ...
    (freebsd-hackers)
  • Re: Linux kernels DoSable by file-max limit
    ... Simply limit users, PAM provides this capability, as do most shells. ... PAM limits provide a single standardized interface to setting ... instead of having to write complex shell configuration files ... Of course limiting CPU time is one of the classic administrative tasks, ...
    (Bugtraq)
  • Re: [ckrm-tech] [PATCH 0/4] sched: Add CPU rate caps
    ... Specifying a limit doesn't do anything to ensure that a task gets enough cpu time to actually accomplish anything unless you specify limits on every task in the system. ...
    (Linux-Kernel)
  • Off-by-one error for SIGXCPU / RLIMIT_CPU checking
    ... comparison when checking whether a process has consumed CPU time in ... excess of its RLIMIT_CPU limits. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Off by one error for SIGXCPURLMIC_CPU checking
    ... comparison when checking whether a process has consumed CPU time in ... excess of its RLIMIT_CPU limits. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)