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

Re: fork()



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.