Re: Setting CPU limits

From: Michael Heiming (
Date: 06/30/05

Date: Thu, 30 Jun 2005 13:48:07 +0200

> 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
> students?

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 zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 434: Please state the nature of the technical