Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!cpk-news-feed3.bbnplanet.com!news.bbnplanet.com!tommy.chesapeake.net!usenet From: Accounts Manager <billing@chesapeake.net> Newsgroups: comp.unix.bsd.bsdi.misc Subject: Re: Unexplained CPU usage on Apache httpd Date: Sat, 10 May 1997 06:28:17 -0400 Organization: Southern Maryland Internet, Inc. Lines: 32 Message-ID: <33744DC1.20ED@chesapeake.net> References: <33731156.1E6F@chesapeake.net> <5kvh6k$5c4$1@pulp.ucs.ualberta.ca> Reply-To: billing@chesapeake.net NNTP-Posting-Host: tc1-0.chesapeake.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0Gold (Win95; I) Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:6844 Marc Slemko wrote: > > First off, if you aren't using 1.2b10 you would probably be wise > to upgrade to it to see if it fixes your problem. OK..I just upgraded to 1.1.3 to see if that fixes the problem. I wasn't sure how stable the beta was. I was only running 1.0.0 (embarassment). > > Is it just one Apache process that is eating CPU? Is the the > parent process (ie. the one normally owned by root that forks > child servers) or one of the child processes (that actually serves > requests)? Yes it is the parent process and only that process. It eats as much cpu time as it can. > > Try a ktrace on the runaway process to see what system calls it is > calling. Something like: > > ktrace -p 666 > [ ... wait 20 seconds ...] > ktrace -C > kdump |less Thanks, I will try that if it happens again. Fred Brechbiel Sys Admin Southern Maryland Internet http://www.chesapeake.net