*BSD News Article 83064


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!newsfeed.orst.edu!newshub.tc.umn.edu!mr.net!www.nntp.primenet.com!nntp.primenet.com!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.unix.bsd.bsdi.misc
Subject: Re: Tuning BSD as Web Server (was Re: Unix too slow for a Web server?)
Date: 17 Nov 1996 09:06:48 GMT
Organization: Private BSD site, Dresden
Lines: 35
Message-ID: <56mkj8$b4a@uriah.heep.sax.de>
References: <323ED0BD.222CA97F@pobox.com> <51rsu5$6je@flash.noc.best.net>
  <WINDLEY.96Sep20085157@margay.cs.byu.edu> <Dy33xK.GvE@interactive.net>
  <527jh9$88p@gol1.gol.com> <32482B53.6935@www.play-hookey.com>
  <5600s5$l1l@news.rrz.uni-koeln.de> <32838E9D.4F4F@www.play-hookey.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:31158 comp.unix.bsd.bsdi.misc:5292

Ken Bigelow <kbigelow@www.play-hookey.com> wrote:

> > Funny that people believe this apache-PR. Most servers run in "forking
> > mode" to hide bugs. On large sites the "idle httpd servers" cost you
> > additional 32MB of memory without any advantage.

> Hmmm. Since Apache is reliable (and it has been very much so, for me),
> that would seem to imply no need to hide bunches of bugs. I also
> seriously wonder about your '32 MB' figure -- by default, [...]
> Since my server only *has* 32 MB of RAM (and isn't all that
> busy, yet), and top still reports plenty of unused memory available even
> while hits are taking place, that figure cannot be a fixed number.

Well, to second this, my machine at work is also running Apache with
32 MB RAM.  Besides this, it acts as the companie's printserver
(including ghostscript), secondary nameserver, my primary X11 display
with lots of open applications in various fvwm windows (since i'm too
lazy to always close and open them), occasionally the HP scanner
program plus the required memory-eating image processing, and
occasionally burns CD-Rs in addition to all the load mentioned above
(which alone eats up 5 MB of physical memory as a userland cache for
safety).

Granted, the usual swap allocation is between 50 and 100 MB (out of
150), but i don't see why the pre-forking Apache would cost me too
much.  I'm also sure i could turn off pre-forking entirely without
much troubles, but it just happened to be the default and i figured
the costs were not cumbersome.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)