*BSD News Article 95138


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news-peer.sprintlink.net!news.sprintlink.net!Sprint!uunet!in3.uu.net!198.68.185.211!taro.futuris.net!usenet
From: matt@callnet.com (Matthew Ahrens)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Unexplained CPU usage on Apache httpd
Date: Sun, 11 May 1997 22:52:39 GMT
Organization: Futuris/Callnet
Lines: 40
Message-ID: <33774d27.92779299@news.callnet.com>
References: <33731156.1E6F@chesapeake.net> <33734b1f.105758849@news.clara.net>
NNTP-Posting-Host: ground.callnet.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Newsreader: Forte Agent 1.0/32.390
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:6854

actually, this is a documented bug between apache and BSDI. if one of
the apache server processes is not used (ie. no hits) in a long time
(like 12 hours or something) then it will *appear* to get stuck and
add one to your load. however, it does not degrade system performance.

the guys at BSDI said they are working on this but it is low priority
since it's just a "cosmetic" bug. (maybe it is fixed in beta 10, don't
know).

--matt


On Fri, 09 May 1997 16:12:31 GMT, steve@clara.net (Steve Rawlinson)
wrote:

>support@chesapeake.net wrote:
>
>>For the past several nights our Apache web server has unexplainably
>>frozen (almost) due to an extremely high CPU percentage.  Using the TOP
>>caommand I can see that it is using 98% CPU and not accepting and any
>>requests from inside our network or out.
>>
>>The only way to fix it is to SIGHUP the httpd daemon.  That seems to
>>work until the next time.
>
>I had the same problem which suddenly appeared and then suddenly
>dissappeared (running apache 1.2b7). I still dont know what caused it
>but it looked like an infinite loop bug - the process took as much cpu
>as it could get its hands on and sometimes there were more than one
>doing it.
>
>steve
>
>
>------
>Steve Rawlinson
>ClaraNet Ltd
>steve@clara.net
>0171 647 1000