Date: Fri, 3 Feb 1995 17:35:28 +1100 From: Bruce Evans <bde@zeta.org.au> To: FreeBSD-hackers@freefall.cdrom.com, guido@gvr.win.tue.nl Subject: Re: limits (again) Message-ID: <199502030635.RAA31880@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>Okay, if there are no complaints, I'm gonna implement >kern.maxfilesperproc One complaint is enough? :-). I've already complained. >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. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502030635.RAA31880>