*BSD News Article 76746


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!psgrain!iafrica.com!uct.ac.za!quagga.ru.ac.za!howland.erols.net!newsfeed.internetmci.com!newsreader.sprintlink.net!news.sprintlink.net!news-atl-21.sprintlink.net!news.voicenet.com!news2.noc.netcom.net!noc.netcom.net!netcom.net.uk!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Apache & BSD Netowrk problems
Date: 22 Aug 1996 15:21:22 +0100
Organization: Coverform Ltd.
Lines: 45
Message-ID: <4vhqd2$cl@anorak.coverform.lan>
References: <4vbeaa$f2l@news1.halcyon.com> <321A762A.4E91@www.play-hookey.com>
NNTP-Posting-Host: localhost.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Ken Bigelow (kbigelow@www.play-hookey.com) wrote:
: Aaron Mitchell wrote:
: > 
: > I'm having some problems keeping my web server system (P5-133 96 megs RAM
: > ISA NE2000 Network Card, Scsi Saturn 2gig) up.  I am web hosting a
: > customer who gets about 10,000 visiotors a day, but as soon as I put him
: > on the server it continually crashes as soon as apache opens too many
: > servers to respond to requests.  The default apache MaxClients is 150,
: > which I lowered to 60, but it will still crash unless I top it out around
: > 45 or 50.  The machine was running on 32 megs of ram (which I upgraded to
: > 96 thinking that apache was crashing due to going into swap) but it still
: > crashes around the same hit load.  Could this be a problem with a poor
: > network card (generic NE2000) I will be putting in a 3c509 tomorrow, but
: > if that doesn't work I'll be about ready to ditch it and buy an UltraSPARC
: > (which I would rather not do).  Does anyone have any ideas on how to get
: > this web server back into shape? (Please reply by email if possible) Thank
: > you.
: > 

: I am also running Apache (1.1.1, now) on FreeBSD 2.1R and have had no 
: trouble. I don't have the hit load you report, but I do get regular 
: access.

: By any chance have you left your kernel as the GENERIC one? If so, you 
: probably need to up your MAXUSER count and then recompile. The GENERIC 
: kernel in 2.1R is set to 10, and this severely limits the number of 
: overall processes the system will support. See the calculation in the 
: Handbook, where it discusses recompiling the kernel. I'd guess you want 
: to up it to around 60, but you can figure it out according to the needs 
: of your system.

: You may not need all that much RAM for your application (I've only got 
: 32MB), but you might want to run top or a similar utility to check the 
: operating stats before you decide.

I wouldn't choose a 3com card.  Not after forking out for the crap 3c589C
that I've got in my laptop and seeing all the 3c509 woes on this group.

Get an SMC.  I've only had good results (I've tried ISA & PCI ones).  Make
sure that your card has a DEC 21x4x chip on it and you should be fine.
If your retailer doesn't know, get him to open the box and find out :)

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....