openbsd-misc
[Top] [All Lists]

Re: fork()

To: Scircuit <circuit@adelphia.net>
Subject: Re: fork()
From: Hannah Schroeter <uk1o@rz.uni-karlsruhe.de>
Date: Sun, 3 Feb 2002 19:38:36 +0100
Cc: misc@openbsd.org
In-reply-to: <20020202185733.003fc787.circuit@adelphia.net>
Mail-followup-to: Scircuit <circuit@adelphia.net>, misc@openbsd.org
References: <20020202185733.003fc787.circuit@adelphia.net>
Sender: owner-misc@openbsd.org
User-agent: Mutt/1.3.27i
Hello!

On Sat, Feb 02, 2002 at 06:57:33PM -0500, Scircuit wrote:
> I increased my max number of process and kern.forkstat.forks by 100 and I 
> still get this error when running multiple instances of the same program:
> % bash: fork: Resource temporarily unavailable.

> I used sysctl -w to increase those 2 values and yet I am still getting that 
> error and my system response is very slow.  Any suggestions?

Did you look at the per-user process limit ({get,set}rlimit(2), and the
limit or ulimit command in your shell)? The initial settings of those
(hard and soft) can be set in /etc/login.conf, by the way.

Kind regards,

Hannah.

<Prev in Thread] Current Thread [Next in Thread>