Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Is apachectl restart safe for connected users and sessions?

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  virtual directories  
Author Message
noah

External


Since: Jun 30, 2003
Posts: 1



(Msg. 1) Posted: Mon Jun 30, 2003 3:00 pm
Post subject: Is apachectl restart safe for connected users and sessions?
Archived from groups: alt>apache>configuration (more info?)

I made some configuration changes to the log format.
I'd like to restart the web server, but people are currently
access the web server -- including clients relying on
PHP scripts with session cookies.

Can I restart the web server without killing the sessions?

I'm pretty sure the answer is "yes" since all restart does it send a SIGHUP
signal to httpd. Can anyone confirm or deny this?

Yours,
Noah

 >> Stay informed about: Is apachectl restart safe for connected users and sessions? 
Back to top
Login to vote
jring

External


Since: Jun 30, 2003
Posts: 154



(Msg. 2) Posted: Mon Jun 30, 2003 4:53 pm
Post subject: Re: Is apachectl restart safe for connected users and sessions? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 > Can I restart the web server without killing the sessions?

not with apachectl restart, it might kill some open connections.

 > I'm pretty sure the answer is "yes" since all restart does it send a SIGHUP
 > signal to httpd. Can anyone confirm or deny this?

for minimum impact try apachectl graceful

<a style='text-decoration: underline;' href="http://httpd.apache.org/docs/programs/apachectl.html" target="_blank">http://httpd.apache.org/docs/programs/apachectl.html</a>

joachim<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Is apachectl restart safe for connected users and sessions? 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]