Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 1997 09:00:20 -0400
From:      "Goeringer, Michael" <goeringerm@keywest.ird.rl.af.mil>
To:        "'Steve Hovey'" <shovey@buffnet.net>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   RE: capping forks
Message-ID:  <c=US%a=_%p=Rome?Lab%l=KEYWEST-970922130020Z-1855@keywest.ird.rl.af.mil>

next in thread | raw e-mail | index | archive | help
In the kernel you can set CHILD_MAX=<your number here>.  Ofcourse this 
affects the entire system so Doug may have a better solution.

Michael G.

----------
From:  Steve Hovey[SMTP:shovey@buffnet.net]
Sent:  Thursday, September 18, 1997 9:36 PM
To:  freebsd-questions@FreeBSD.ORG
Subject:  capping forks


How does one safely limit the number of child processes a program can
fork?  The old smtp mailer I used did this fine, but smap does not and
occational spam attacks have made problems.

I compared source and they seem to use the same method but Im not up
enough on this to be sure.

Any ideas appreciated!





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c=US%a=_%p=Rome?Lab%l=KEYWEST-970922130020Z-1855>