Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Sep 2000 12:39:29 -0300 (ART)
From:      Fernando Gleiser <fgleiser@cactus.fi.uba.ar>
To:        Spades <spades@galaxynet.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: High usage processes
Message-ID:  <Pine.BSF.4.21.0009061233250.39968-100000@cactus.fi.uba.ar>
In-Reply-To: <3.0.32.20000906231646.018b9370@smtp.magix.com.sg>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 6 Sep 2000, Spades wrote:

> How do i have my FreeBSD system to autokill processes with high usage
> of exceeding 3k cpu/ram usage:
> 
> This doesnt seem to work, any more ideas?

Two posible causes:

Have you done a cap_mkdb to rebuild the capability database?
Are the users in the basic-user login class (pw usermod <user> -L basic-user)?


			Fer


> 
> /etc/login.conf
> 
> basic-user:\
>         :copyright=/etc/COPYRIGHT:\
>         :welcome=/etc/motd:\
>         :setenv=MAIL=$HOME/Mailbox,BLOCKSIZE=K:\
>         :path=~/bin /bin /usr/bin /usr/local/bin:\
>         :nologin=/var/run/nologin:\
>         :cputime=2h:\
>         :datasize=5M:\
>         :stacksize=2M:\
>         :memorylocked=3M:\
>         :memoryuse=3M:\
>         :filesize=50M:\
>         :coredumpsize=1M:\
>         :openfiles=128:\
>         :maxproc=20:\
>         :priority=0:\
>         :ignoretime@:\
>         :umask=022:
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 
> Spades (CService5)
> CService Nick Password
> http://cservice.galaxynet.org
> 
>                  `  _ ,  '      
>                -  (o)o)  -      
> -*-*-*-*-*-*-*-ooO'(_)--Ooo-*-*-*
> Bryan, Lee Chenghui             |
> ICQ UIN: 1558635                |
> spades@galaxynet.org            |
> Global - irc.provalue.net       |
> =================================
> 
> 
> 
>     "A man of words and not of deeds is like
>            a garden full of weeds..."
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 
> Spades (CService5)
> CService Nick Password
> http://cservice.galaxynet.org
> 
>                  `  _ ,  '      
>                -  (o)o)  -      
> -*-*-*-*-*-*-*-ooO'(_)--Ooo-*-*-*
> Bryan, Lee Chenghui             |
> ICQ UIN: 1558635                |
> spades@galaxynet.org            |
> Global - irc.provalue.net       |
> =================================
> 
> 
> 
>     "A man of words and not of deeds is like
>            a garden full of weeds..."
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



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?Pine.BSF.4.21.0009061233250.39968-100000>