Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Aug 2001 15:58:51 +0200
From:      Christoph Sold <so@server.i-clue.de>
To:        =?iso-8859-1?Q?Jo=E3o?= Pagaime <jpsp@fccn.pt>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: inetd/daemon limits
Message-ID:  <3B695C9B.23436FE5@i-clue.de>
References:  <000d01c11b45$db85d8c0$dc0788c1@jpsp2>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B695C9B.23436FE5>