Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 1997 11:31:10 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Charles Mott <cmott@srv.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Maximum number of forked processes
Message-ID:  <19971104113110.52901@lemis.com>
In-Reply-To: <Pine.BSF.3.96.971103161157.28883A-100000@darkstar.home>; from Charles Mott on Mon, Nov 03, 1997 at 04:16:36PM -0700
References:  <Pine.BSF.3.96.971103161157.28883A-100000@darkstar.home>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 03, 1997 at 04:16:36PM -0700, Charles Mott wrote:
> How does one control the maximum number of forked processes from within
> the parent process?

I suppose the answer is  "manually".  setrlimit(2) allows you to limit
the  number of processes (=forks)    per user, but   I  don't know  of
anything that would limit the number of children of a process.

> Since this is an elementary question but regards programming, I was
> uncertain whether to send it to -questions or -hackers.

In fact, I'd think that this is worthy of -hackers, so I'm following
up there.

Greg



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