[Beowulf] User resource limits

Prentice Bisbal prentice at ias.edu
Mon Jun 9 10:38:08 PDT 2008


Perry E. Metzger wrote:
> "Lombard, David N" <dnlombar at ichips.intel.com> writes:
>> On Mon, Jun 09, 2008 at 11:41:29AM -0400, Prentice Bisbal wrote:
>>> I would like to impose some CPU and memory limits on users that are hard
>>> limits that can't be changed/overridden by the users. What is the best
>>> way to do this? All I know is environment variables or shell commands
>>> done as the user (ulimit, for example).
>> pam_limits and /etc/security/limits.conf
> 
> You're making assumptions about what OS he's running. He didn't say
> which flavor of Unix this is. We can only assume it is some POSIX OS
> because he mentions the ulimit command. Indeed, not even all Linuxes
> use that file, though many do.
> 

Yeah, my mistake - I forgot to include that important piece of data. My
apologies. I'm running PU_IAS Linux 5.1. PU_IAS is a rebuild of RHEL, so
 anything that applies to RHEL applies to PU_IAS.

http://plug.princeton.edu/linux/

I think David was assuming I was running Linux, and he was correct.
thanks for your help. I have to go read some man pages now.

Prentice



More information about the Beowulf mailing list