From owner-freebsd-questions Fri Aug 6 12:17:46 1999 Delivered-To: freebsd-questions@freebsd.org Received: from lab321.ru (l321.omsk.ru [195.161.22.245]) by hub.freebsd.org (Postfix) with ESMTP id 40AC314D46 for ; Fri, 6 Aug 1999 12:17:28 -0700 (PDT) (envelope-from kev@lab321.ru) Received: from ns.lab321.ru (kev@ns.lab321.ru [195.161.22.161]) by lab321.ru (8.9.3/8.9.3) with ESMTP id CAA12752; Sat, 7 Aug 1999 02:16:09 +0700 (OSS) Date: Sat, 7 Aug 1999 02:16:09 +0700 (OSS) From: Eugeny Kuzakov To: Doug Cc: questions@freebsd.org Subject: Re: login.conf features In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 processe work with big files ( 25Mb, for example) it require huge of memory: PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 11354 root -6 0 276K 376K biowai 0:11 0.57% 0.57% find 11370 kev -18 0 74552K 19804K swread 0:12 0.27% 0.27% cvs 11836 root 31 0 712K 856K RUN 0:00 0.26% 0.08% top 11376 root 2 0 888K 648K select 0:07 0.04% 0.04% top I am don't like it. # # standard - standard user defaults # standard:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,EDITOR=/usr/bin/ee:\ :path=~/bin /bin /usr/bin /usr/local/bin:\ :manpath=/usr/share/man /usr/local/man:\ :nologin=/etc/nologin:\ :cputime=1h30m:\ :datasize=8M:\ :stacksize=2M:\ :memorylocked=4M:\ :memoryuse=8M:\ :filesize=8M:\ :coredumpsize=8M:\ :openfiles=24:\ :maxproc=32:\ :priority=0:\ :requirehome:\ :passwordperiod=90d:\ :umask=002:\ :ignoretime@:\ :tc=default: -- Best wishes, Eugeny Kuzakov Laboratory 321 ( Omsk, Russia ) kev@lab321.ru ICQ#: 5885106 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message