Skip site navigation (1)Skip section navigation (2)
Date:      	Sat, 16 Sep 1995 12:40:34 -0700 (PDT)
From:      Tom Samplonius <tom@uniserve.com>
To:        Guido van Rooij <guido@gvr.win.tue.nl>
Cc:        questions@freebsd.org
Subject:   Re: "limit maxprocs" vs. "sysctl kern.maxprocperuid"
Message-ID:  <Pine.BSF.3.91.950916123314.6526B-100000@haven.uniserve.com>
In-Reply-To: <199509161848.UAA00513@gvr.win.tue.nl>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

On Sat, 16 Sep 1995, Guido van Rooij wrote:

> Tom Samplonius wrote:
> > 
> >   What is the exact relationship between csh's "limit maxproc" and 
> > "sysctl kern.maxprocperuid"?
> 
> Limit maxproc is valid only for the current process and all of its children.
> 
> The other one is global and effective immediately for *all* uids.

  I tested the effects of "limit maxproc X", and it is most definitely 
affects other processes.  For example, I logged in twice to two different 
virtual consoles, then I proceeded to run my limit (default is 40) of 
processes (for testing I used 'sleep 40') on one console.  After that, I 
could not run any processes on the second console, until some processes 
running on the first console ended.

  How does one set the default "limit maxproc" value for all users?

Tom



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.950916123314.6526B-100000>