Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Aug 1999 15:45:29 GMT
From:      mike@sentex.net (Mike Tancsa)
To:        kev@lab321.ru (Eugeny Kuzakov)
Cc:        questions@freebsd.org
Subject:   Re: login.conf features
Message-ID:  <37ac5437.273676606@mail.sentex.net>
In-Reply-To: <MAILPine.BSF.4.10.9908070212010.11914-100000@lab321.ru>
References:  <Pine.BSF.4.05.9908061128550.12238-100000@dt011n65.san.rr.com> <MAILPine.BSF.4.10.9908070212010.11914-100000@lab321.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6 Aug 1999 15:17:59 -0400, in sentex.lists.freebsd.questions you wrote:

>On Fri, 6 Aug 1999, Doug wrote:
>
>> On Fri, 6 Aug 1999, Eugeny Kuzakov wrote:
>> 
>> > 
>> > hi*&
>> > 
>> > Where can I read what features of login.conf really works in 2.2.8-stable?
>> > I need to limit momory usage for users and have no success.
>> 	IIRC in 2.2.8 memory limits work, but none of the -cur or -max
>> stuff works. What limits are you trying to set exactly?
>I tryed "standard" template. I need to limit memory usage. When cvs

Hmmm.. this works for me in 2.2.x stable
safty:\
        :cputime=infinity:\
        :datasize-cur=8M:\
        :datasize-max=8M:\
        :stacksize-cur=4M:\
        :stacksize-max=4M:\
        :memorylocked-cur=10M:\
        :memorylocked-max=10M:\
        :memoryuse-cur=10M:\
        :memoryuse-max=10M:\
        :filesize=infinity:\
        :coredumpsize=infinity:\
        :maxproc-cur=5:\
        :maxproc-max=5:\
        :openfiles-cur=64:\
        :openfiles-max=64:\
        :priority=0:\
        :requirehome@:\
        :umask=022:\
        :tc=auth-defaults:

You did remember to cap_mkdb /etc/login.conf and chfn the user into that
class right ?

	---Mike
Mike Tancsa  (mdtancsa@sentex.net)		
Sentex Communications Corp,   		
Waterloo, Ontario, Canada
"Who is this 'BSD', and why should we free him?"


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?37ac5437.273676606>