Re: Setting CPU limits
From: Michael Heiming (michael+USENET_at_www.heiming.de)
Date: Thu, 30 Jun 2005 13:48:07 +0200
In comp.os.linux.security email@example.com:
> Hi all,
> I'm trying to limit the CPU usage of my users. I have modified my
> /etc/security/limits.conf file and added the following lines:
> @student hard nproc 20
> @student hard cpu 10
> First, is 10 minutes a riduclously small amount of CPU time to give to
Depends on what they are doing, you might need some trial/error
to find an acceptable value.
> Second, and more importantly, does modifying the limits.conf file
> require a reboot to take effect?
Of course not.;) But you need to log out users, limits are
applied during login.
-- Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94) mail: echo firstname.lastname@example.org | perl -pe 'y/a-z/n-za-m/' #bofh excuse 434: Please state the nature of the technical emergency