Re: [Zope] what happens when I click restart...
Thank you, Jamie. I gather it is better to use /Control_Panel buttons (than stop and start scripts in zope directory). Regards, Tena Sakai Jamie Heilman <jamie@audible.tra To: Tena Sakai <tena.sakai.b@bayer.com> nsient.net> cc: zope@zope.org Subject: Re: [Zope] what happens when I click restart... 04/02/2003 08:39 PM Tena Sakai wrote:
What hapeens when I click Restart button from /Control_Panel of ZMI? Does the stop and start scripts in the zope directory (of server) get executed?
Depends which version of zope you're using, and how you have it set up, but generally - no it doesn't do the same thing; the stop and start scripts use signals, the restart button triggers a more gentle shutdown and exits in such a way that zdaemon knows it should restart everything. -- Jamie Heilman http://audible.transient.net/~jamie/ "It's almost impossible to overestimate the unimportance of most things." -John Logue
[Tena Sakai wrote (tena.sakai.b@bayer.com) on 4/3/03 11:02 AM]
I gather it is better to use /Control_Panel buttons (than stop and start scripts in zope directory).
Actually a better idea would be to setup your Zope in an instance_home config and use the stop and start scripts, IMO. <--> george donnelly - http://www.zettai.net/ - "We Love Newbies" :) Zope Hosting - Dynamic Website Design - Search Engine Promotion Yahoo, AIM: zettainet - MSN: zettainet@hotmail.com - ICQ: 51907738
george donnelly wrote:
[Tena Sakai wrote (tena.sakai.b@bayer.com) on 4/3/03 11:02 AM]
I gather it is better to use /Control_Panel buttons (than stop and start scripts in zope directory).
Actually a better idea would be to setup your Zope in an instance_home config and use the stop and start scripts, IMO.
Come zope 2.7 signal handling will have matured to where its reliable enough to use, until then the control panel buttons are probably safest. Check out the CleanShutdown proposal zope.org. -- Jamie Heilman http://audible.transient.net/~jamie/ "I was in love once -- a Sinclair ZX-81. People said, "No, Holly, she's not for you." She was cheap, she was stupid and she wouldn't load -- well, not for me, anyway." -Holly
I gather it is better to use /Control_Panel buttons (than stop and start scripts in zope directory).
There's no particular magic in manage_restart -- the signal handlers do almost exactly the same thing. Reasons to prefer TTW restart/shutdown: - logging of who requested it - restart can be automatic (and thus slightly faster) Reasons to prefer console restart/shutdown: - can fix things if startup doesn't take - can see messages, if any So basically for routine use, TTW is good. If there's any possibility of trouble, go console. --jcc
participants (4)
-
george donnelly -
J Cameron Cooper -
Jamie Heilman -
Tena Sakai