[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Hung httpds process consuming 100% CPU

From: Jerry McAllister <jerrymc_at_msu.edu>
Date: 2007-04-16 17:19:22 CEST

On Mon, Apr 16, 2007 at 09:15:37AM -0500, Mark W. Shead wrote:

> Has anyone run into problems with httpds.prefork hanging and
> consuming 100% of a CPU? This is on a 4 processor box. Every few
> days a process will start consuming 100% of one of the available CPUs
> and just sit their indefinately. Once a few of the CPUs are running
> these hung processes, subversion becomes very slow and unusable.

I have had httpd.prefork hang and go nowhere on SuSE 10.1. I
nuked everything and did it all over (including installing susie)
and then used /usr/sbin/apache2ctl to start it and it worked fine and the
install from the bootup startup script now works too.

Unfortunately after cleaning it up, I can't reproduce the problem
but I remember that when it failed, some part of starting mangled
the config files and, for example my line that sets ServerAdmin
  ServerAdmin jerrymc@xxx.xxx
would get broken in to two pieces and rewritten in the composite config
it creates on two separate lines as:
  ServerAdmin
  jerrymc@xxx.xxx

There may have been some other junk happening as well.
After repeatedly fixing it up several times and starting again
and seeing the same result, I just nuked everything - used
a FreeBSD fixit CD to overwrite the hard disk and reinstalled SuSE
and everything. You may ask why I didn't just use FreeBSD and
run from there. I would have preferred that, but this system
was being installed according to someone elses requirements which
included running it on Enterprise SuSE. I have never seen anything
like that on BSD.

>
> Any suggestions?

I guess, given my experience, clean up the machine, reinstall and
then start Apache the first time using the apache2ctl to start it
manually. Since I changed several things all at once, I can't
say which was what fixed it or cleaned up the problem.

////jerry

>
> OS: RHEL 3
> SVN: 1.3.2
> Apache: 2.0.54
> Server: 4 processors
>
> Mark Shead
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 16 17:21:44 2007

This is an archived mail posted to the Subversion Users mailing list.