Re: Setting CPU limits
From: Michael Heiming (michael+USENET_at_www.heiming.de)
Date: 06/30/05
- Next message: Aaron Gray: "FC4 root access via user account"
- Next in thread: Centurion: "Re: Setting CPU limits"
- Maybe reply: Centurion: "Re: Setting CPU limits"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 30 Jun 2005 13:48:07 +0200
In comp.os.linux.security mrmazoo@gmail.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
> 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 emergency
- Next message: Aaron Gray: "FC4 root access via user account"
- Next in thread: Centurion: "Re: Setting CPU limits"
- Maybe reply: Centurion: "Re: Setting CPU limits"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|