From owner-freebsd-questions@FreeBSD.ORG Sat Apr 5 19:44:35 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 480F137B405 for ; Sat, 5 Apr 2003 19:44:35 -0800 (PST) Received: from thalia.otenet.gr (thalia.otenet.gr [195.170.0.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id D28A643F93 for ; Sat, 5 Apr 2003 19:44:32 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a193.otenet.gr [212.205.215.193]) by thalia.otenet.gr (8.12.9/8.12.9) with ESMTP id h363iSfe006668 for ; Sun, 6 Apr 2003 06:44:29 +0300 (EEST) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.9/8.12.9) with ESMTP id h363iRt7004890 for ; Sun, 6 Apr 2003 06:44:28 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.9/8.12.9/Submit) id h3634U90004452; Sun, 6 Apr 2003 06:04:30 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 6 Apr 2003 06:04:30 +0300 From: Giorgos Keramidas To: Adam Message-ID: <20030406030430.GA4130@gothmog.gr> References: <20030405202158.B34257-100000@foem.leiden.webweaving.org> <1049569188.91991.24.camel@jake> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1049569188.91991.24.camel@jake> cc: freebsd-questions@freebsd.org Subject: Re: Protecting against fork bombs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2003 03:44:36 -0000 On 2003-04-05 13:59, Adam wrote: >On Sat, 2003-04-05 at 13:22, Dirk-Willem van Gulik wrote: >> ulimit -u 100 >> >> does not do that for you adequately enough (or setting the same in >> /etc/login.conf (field maxproc)) ?? > > I suppose ulimit would do the trick .. Are there any standard guidelines > for how many processes to allow? This box is 1.5GHz Athlon, 512mb RAM, > 1024mb swap .. Anything above 100 should probably be fine for individual users, even if they want to run X11. You can always experiment and increase as needed. - Giorgos