From owner-freebsd-questions Thu Aug 2 6:57:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gekko.i-clue.de (server.ms-agentur.de [62.153.134.194]) by hub.freebsd.org (Postfix) with ESMTP id 8358B37B406 for ; Thu, 2 Aug 2001 06:57:15 -0700 (PDT) (envelope-from so@server.i-clue.de) Received: from i-clue.de (automatix.i-clue.de [192.168.0.112]) by gekko.i-clue.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id QAA27591; Thu, 2 Aug 2001 16:05:24 +0200 Message-ID: <3B695C9B.23436FE5@i-clue.de> Date: Thu, 02 Aug 2001 15:58:51 +0200 From: Christoph Sold Reply-To: so@server.i-clue.de X-Mailer: Mozilla 4.78 [en] (WinNT; U) X-Accept-Language: de,en MIME-Version: 1.0 To: =?iso-8859-1?Q?Jo=E3o?= Pagaime Cc: freebsd-questions@FreeBSD.ORG Subject: Re: inetd/daemon limits References: <000d01c11b45$db85d8c0$dc0788c1@jpsp2> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Joćo Pagaime wrote: > > Hello all, > > I would like to impose limits (max. memory, mostly) on a > service spawned by the inetd. > > How can I do that? > > I've tried to run a script from /etc/hosts.allow that lowers the > limits but that doesn't seem to work. > > Of course I could configure system wide limits through a > kernel compilation, or "sysctl" calls, but I would prefer > to fine tune this limits to one specific service (imapd). Create a user "imapd", chown the service to that user, set the limits for that user. HTH -Christoph Sold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message