Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 1996 09:59:13 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Cc:        ck@toplink.net, angio@aros.net (Dave Andersen)
Subject:   Re: Limti of processes per user
Message-ID:  <199603050859.JAA05040@uriah.heep.sax.de>
In-Reply-To: <199603050843.BAA08594@terra.aros.net> from "Dave Andersen" at Mar 5, 96 01:43:32 am

next in thread | previous in thread | raw e-mail | index | archive | help
As Dave Andersen wrote:
> 
> options	"CHILD_MAX=##"

This is a last-resort hack.

> Also might want to check the 'maxusers' setting in your kernel config 
> file, if it's set particularly low.

This doesn't influence the maximal number of simultaneous processes.

The official way is to use the csh builtin `limit', or the Bourne-
alike shell builtin `ulimit' to increase this number.  Alas, our
/bin/sh in previous releases didn't grok `ulimit', so the above hack
was about your only chance.

For a recent system, simply put

	ulimit -S -u 100

for example on top of your .xsession file (this is perhaps one thing
where you would love it most).  The setting is inherited to the
children, and the xsession shell is the grandfather of all your
processes under X11.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603050859.JAA05040>