Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!cam-news-hub1.bbnplanet.com!news.mathworks.com!uunet!in3.uu.net!news.interactive.net!onyx.interactive.net!not-for-mail From: ritz@onyx.interactive.net (Chris Mauritz) Subject: Re: Apache & BSD Netowrk problems X-Newsreader: TIN [UNIX 1.3 unoff BETA release 960808] X-Nntp-Posting-User: ritz Sender: news@interactive.net (System Administrator) Organization: IBS Interactive, Inc. Lines: 46 Message-ID: <DwK0oA.HzK@interactive.net> References: <4vbeaa$f2l@news1.halcyon.com> <321A762A.4E91@www.play-hookey.com> X-Trace: 840741994/6797 X-Nntp-Posting-Host: onyx.interactive.net Date: Thu, 22 Aug 1996 19:26:34 GMT 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. There is also a very good list of tweaks for BSDI/FreeBSD at: http://www.apache.org/docs/perf-bsd44.html Chris -- Christopher Mauritz | For info on internet access: ritz@interactive.net | finger/mail info@interactive.net OR IBS Interactive, Inc. | http://www.interactive.net/