[Beowulf] User resource limits
Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.
Lombard, David N dnlombar at ichips.intel.comFri Jun 13 15:58:40 PDT 2008
- Previous message: [Beowulf] User resource limits
- Next message: [Beowulf] User resource limits
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Jun 13, 2008 at 04:03:49PM -0400, Prentice Bisbal wrote: > Lombard, David N wrote: > > 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 > > > In limits.conf, what is the units for as, is it bytes, or kb? It doesn't > say in the man page for limits.conf, and the page for setrlimit says > bytes RLIMIT_AS. As does the kernel's mm/mmap.c and, for >=2.6.25, fs/proc/base.c Note, mmap.c has been validating memory requests against RLIMIT_AS since at least 2.6.3 (earliest kernel sources I have online); 2.6.25 includes a /proc file "limits" that displays the limits (see fs/proc/base.c). HTH -- David N. Lombard, Intel, Irvine, CA I do not speak for Intel Corporation; all comments are strictly my own.
- Previous message: [Beowulf] User resource limits
- Next message: [Beowulf] User resource limits
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Beowulf mailing list
