Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2003 20:45:43 +0200
From:      Thierry Herbelot <thierry@herbelot.com>
To:        philip.reynolds@rfc-networks.ie, hackers@freebsd.org
Subject:   and daemons ? [was Re: Keeping a large shellbox stable and secure]
Message-ID:  <200304242045.43432.thierry@herbelot.com>
In-Reply-To: <20030424113630.GA21831@rfc-networks.ie>
References:  <001901c309ee$36029070$c601a8c0@oxygen> <20030424113630.GA21831@rfc-networks.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Thursday 24 April 2003 13:36, Philip Reynolds a écrit :
>
> The above program, for instance, should stop after a few seconds
> with an error (something equivalent to resources unavailable)
>
> Some sample settings would be:
>
[example with login.conf]
>

Hello,

login.conf is quite interesting with *interactive* users, but I'm wondering if 
login.conf could also be used to constrain long-running processes, such as 
daemons (you may imagine a list ...)

in the case of long-runnning-processes, a cap on CPU run time seems difficult 
to use : either the cap is too low and the daemon is stopped when it should 
not or the cap is too high, and you may be DOS'ed by a runaway process :-(

obviously, all other parameters can be usefully limited.

has someone played with daemons and resource limits of login.conf ?

	TfH



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304242045.43432.thierry>