Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Graceful restart kills every httpd process

Status
Not open for further replies.

ytrsk

Programmer
Jan 26, 2001
4
FR
I am using IBM HTTP server 1.3.6.
The server can be started and stopped, and works normally.
But when I try to restart the server (gracefully or not), apachectl returns a zero RC, but all the httpd processes (father and sons) are killed.
Has anyone ever experienced it ?

Thank you for your precious help.

Yannick.
 
I forgot to say that the server runs on Solaris 7.

Yannick.
 
Try &quot;kill -HUP <pid>&quot; where <pid> is the Process ID for the &quot;root&quot; process of Apache. It simply reloads Apache's config file, and does not &quot;per se&quot; kill any processes.

What specifically do you mean by &quot;gracefully&quot;? If you restart the platform, then of course the processes stop. I'm a little confused...

-Ted -Teddy L. Biesecker, Jr.
Web System Analyst
HQ USSOCOM, MacDill AFB, FL
webmaster@socom.mil
 
That's my question ! The SIGHUP kills the root process !
And what is called a &quot;gracefull&quot; restart is an option of the apachectl command. It sends a SIGUSR1 to the process.

Any Idea ?

Yannick.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top