Re: [Zope3-dev] How to shutdown Zope3 gracefully?

2005-07-19 Thread Benji York
Adam Groszer wrote: [Adam Groszer] What do you say, can there be any data loss if I use the Shutdown button? Does Zope write everything out to disc before it quits? Zope (or rather ZODB FileStorage) writes all transactions to disk when they are committed. (Baring extraordinary bugs) any

Re: [Zope3-dev] How to shutdown Zope3 gracefully?

2005-07-19 Thread Tim Peters
[Adam Groszer] Or, a better question: how to stop Zope3 cleanly (and when possible quickly, for development sessions)? [Tim Peters] Sorry, no idea here. Anyone else? [Benji York] Control-C. Adam is running on Windows. Bring up Zope3 from a DOS box, and after it's running hit Ctrl+C in the

Re: [Zope3-dev] How to shutdown Zope3 gracefully?

2005-07-19 Thread Benji York
Tim Peters wrote: Adam is running on Windows. Sorry, my email has been up and down today, I didn't read the message mentioning that until later. Ctrl+Break stops it instantly, but then the C libraries don't get a chance to clean up (like Unix kill -9). The Windows Service shutdown code

Re: [Zope3-dev] How to shutdown Zope3 gracefully?

2005-07-19 Thread Tim Peters
[Tim Peters] Ctrl+Break stops it instantly, but then the C libraries don't get a chance to clean up (like Unix kill -9). The Windows Service shutdown code in Zope3 also does a very hard kill (a Win32 TerminateProcess()). [Benji York] All very true. I think you'll also agree that it