1838428 Members
3144 Online
110126 Solutions
New Discussion

Apache takes 100% of CPU

 
PatRoy
Regular Advisor

Apache takes 100% of CPU

Hi.

I've installed hpuxwsAPACHE A.2.0.58.01 on a dev server without any problems!

I did the exact same install on a production server, and for some reasons, just doing a 'apachectl -t' take 100% of 1 cpu! It hangs there.

I've checked in /opt/hpws/apache/logs/ and I have nothing!

System is HPUX 11.11, 2 CPUs, 4973556KB of memory.

Any guides? Thanks!
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Apache takes 100% of CPU

Shalom,

1) Check http://software.hp.com for a patch. You will not find a patch for this on itrc because its not an OS, its an application.

2) Check http://www.apache.org for bugs.

This appears to be a bug.

Check that the OS itself is up to date. Problems with kernel parameters, nproc, nfile and such can also cause apache weirdness, but if it were an OS problem other applications would also misbehave.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
rick jones
Honored Contributor

Re: Apache takes 100% of CPU

It would be good to know what Apache might happen to be doing. The system call trace tool tusc might help with that.
there is no rest for the wicked yet the virtuous have no pillows
PatRoy
Regular Advisor

Re: Apache takes 100% of CPU

I needed to patch the server with the following:

PHSS_33944 / HP aC++ -AA runtime libraries (aCC A.03.71)

That resolved it all. Thanks all!