Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Feb 1995 22:03:50 +0100 (MET)
From:      guido@gvr.win.tue.nl (Guido van Rooij)
To:        bde@zeta.org.au (Bruce Evans)
Cc:        FreeBSD-hackers@freefall.cdrom.com
Subject:   Re: limits (again)
Message-ID:  <199502032103.WAA20262@gvr.win.tue.nl>
In-Reply-To: <199502030635.RAA31880@godzilla.zeta.org.au> from "Bruce Evans" at Feb 3, 95 05:35:28 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans wrote:
> 
> >Okay, if there are no complaints, I'm gonna implement
> >kern.maxfilesperproc
> 
> One complaint is enough? :-).  I've already complained.

Sorry; I must have missed that one. Could you remail it? 

> 
> >If people do want other such limits implemented, let them shout and I'll
> >try doing that as well.
> 
> A correct implementation seems to require the following: (:-()
> (1) search for and reduce all higher limits in rlim_cur and rlim_max in
> the process table.
> (2) search for and kill all processes that expect the limits that they
> have already checked to remain valid.  See src/lib/libc/gen/sysconf.c.

It depends on how you look at it. Does resetting the value of it means that
at once everything should obey it, or is it a restriction from now on.

I dont see a problem with the latter one.

-Guido



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