Operating System - HP-UX
1833609 Members
3833 Online
110062 Solutions
New Discussion

Re: HP Apache higher cpu utilization

 
SOLVED
Go to solution
Shivkumar
Super Advisor

HP Apache higher cpu utilization

Hi,

We have upgraded HP Apache to 2.0.54 and 2.0.55 on HPUX 11i.

We observed that "restart" take more cpu than start and stop command.

Can anyone suggest what could be the issue ?

Thanks,
Shiv
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: HP Apache higher cpu utilization

Shalom Shiv,

I'd like to see the data that led you to this conclusion.

It is however not uncommon for new quirks to work into new versions of the software. Performance enhancements and such. New bugs.

Most HP-UX startup scripts don't accomodate a restart option. This in itself is special, but I think the code in use is the same as stop followed by start.

Which leads me to question how you came to this conclusion.

I shall watch the thread a while and respond again if warranted.

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
Shivkumar
Super Advisor

Re: HP Apache higher cpu utilization

Steven, I don't have access to the box having issue. I had received this issue from a business partner. But i think $./apachectl restart command is a kind of soft start of apache web server and this command enables us not to disconnect the existing web client. Regards. Shiv
Arunvijai_4
Honored Contributor
Solution

Re: HP Apache higher cpu utilization

Hi Shiv,

Have you done any performance tweaks for HP Apache ? Just check the official guide,

http://httpd.apache.org/docs/2.0/misc/perf-tuning.html

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: HP Apache higher cpu utilization

I hope restart is done as ./apachectl stop ./apachectl start. Can you post this:

Telnet session 1:

# ./apachectl restart

Telnet session 2:

Get cpu information for apachectl process.



Telnet session 1:

# ./apachectl stop
# ./apachectl start

Telnet session 2:

Get cpu information for apachectl process.

It will give more informations.

--
Muthu
Easy to suggest when don't know about the problem!