Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: login.conf 'memoruse' per login or process?

On Wed, Feb 03, 2010 at 07:34:09PM -0500, Noah McNallie wrote:
> As the topic states, the question is if options that say 'in core
> memory use' (memoryuse setting) or 'in core memory size'
> (memorylocked) are per process or per user, such as the process
> limit is.

The limits are applied by setrlimit(2), so they are per-process.

In practice, the limits may not be very useful: a child process inherits
its parent's resource limits, however, the parent's resource usage
does not count against the child's limits.  All resource limits are
effectively multiplied by RLIMIT_NPROC.


David Young             OJC Technologies      Urbana, IL * (217) 278-3933

Home | Main Index | Thread Index | Old Index