From owner-freebsd-hardware Sun Sep 27 23:54:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA12887 for freebsd-hardware-outgoing; Sun, 27 Sep 1998 23:54:14 -0700 (PDT) (envelope-from owner-freebsd-hardware@FreeBSD.ORG) Received: from shell6.ba.best.com (shell6.ba.best.com [206.184.139.137]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA12882 for ; Sun, 27 Sep 1998 23:54:12 -0700 (PDT) (envelope-from jkb@best.com) Received: from localhost (jkb@localhost) by shell6.ba.best.com (8.9.0/8.9.0/best.sh) with SMTP id XAA26158; Sun, 27 Sep 1998 23:53:52 -0700 (PDT) X-Authentication-Warning: shell6.ba.best.com: jkb owned process doing -bs Date: Sun, 27 Sep 1998 23:53:51 -0700 (PDT) From: "Jan B. Koum " X-Sender: jkb@shell6.ba.best.com To: Kevin Day cc: clash@tasam.com, freebsd-hardware@FreeBSD.ORG Subject: Re: Server Stability not good anymore In-Reply-To: <199809280640.BAA00519@home.dragondata.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Uhm.. it is somewhat your fault if you let your users to use as much memory as they want. :) They are users and don't know any better (nice? what nice?). I'd suggest limiting memory and cpu to your users via login class features (look at /etc/login.conf). Thanks, -- Yan I don't have the password .... + Jan Koum But the path is chainlinked .. | Spelled Jan, pronounced Yan. There. So if you've got the time .... | Web: http://www.best.com/~jkb Set the tone to sync ......... + OS: http://www.FreeBSD.org On Mon, 28 Sep 1998, Kevin Day wrote: >> >> On Mon, 28 Sep 1998, Joe Gleason wrote: >> >> >You would think that 640mb is exesive, but you have never run a shell server >> >then. ;-) >> >I do need it. At 512mb, I was swaping a good 30mb to disk. >> > >> >Right now, I am agreeing with your conclusion. >> > >> >> I beg to differ. I have ran a shell server before and still do run >> a couple. They might not have as many users/jobs as your server however. >> OTOH, my ISP (best.com) runs heave HEAVE loaded servers. They do >> all: shell, web, ftp, telnet, pop, imap, etc. But they are not throwing all >> their users into a single system - instead they are putting about 2000 >> users per box. The boxes are PPro200s with 128MB of RAM. They usually have >> 150-200 users on line at any time (this is logged in users + pop/imap/web >> users) per system. One of their head engineers (who is also a FreeBSD >> developer) wrote an article recently for Newsletter #2 about FreeBSD use >> in ISP like environment. Check out: >> ftp://ftp.freebsd.org/pub/FreeBSD/newsletter/ >> How many users do you have on your system? If it less then 5000 >> you should be fine with 512 or less MB of ram (unless the all like to run >> emacs at the same time *grin*) >> > >To add some data: > >Right now, 8 users logged in, 103 eggdrops running, 15 bnc's running, and >god only knows what else they've decided to run: > >shell1# top >last pid: 28349; load averages: 0.57, 0.30, 0.51 01:36:44 >176 processes: 1 running, 172 sleeping, 3 zombie >CPU states: 2.7% user, 0.0% nice, 0.8% system, 1.2% interrupt, 95.3% idle >Mem: 214M Active, 12M Inact, 46M Wired, 41M Cache, 8342K Buf, 63M Free >Swap: 256M Total, 128K Used, 256M Free > >(all web/mail/etc is done on another server) > >We've got 384MB of ram in the box right now - seems to be handling the >bursts we get of 5 users deciding to compile something with -j4 at once. :) > >The PII/400 we're using now seems to be overkill, but our users aren't >exactly complaining. :) > > >Kevin Day >DragonData > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message