From owner-freebsd-questions Thu Sep 18 18:36:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA26369 for questions-outgoing; Thu, 18 Sep 1997 18:36:00 -0700 (PDT) Received: from buffnet4.buffnet.net (buffnet4.buffnet.net [205.246.19.13]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA26364 for ; Thu, 18 Sep 1997 18:35:57 -0700 (PDT) Received: from buffnet11.buffnet.net (shovey@buffnet11.buffnet.net [205.246.19.55]) by buffnet4.buffnet.net (8.7.5/8.7.3) with SMTP id VAA05272 for ; Thu, 18 Sep 1997 21:35:47 -0400 (EDT) Date: Thu, 18 Sep 1997 21:35:46 -0400 (EDT) From: Steve Hovey To: freebsd-questions@freebsd.org Subject: capping forks Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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!