Performing an orderly shutdown with OTP

Vance Shipley <>
Wed Jan 14 03:15:02 CET 2004

How do you folks build systems which perform orderly shutdowns?

How should we shut the system down manually?  q() seems rather

If the system will be stopped in what order are children 
killed off?

I would like to see a (relatively) orderly shutdown  occur
even when an exceptional event occurs like for instance a
permanent application exiting.

How would you use the kernel configuration parameter 

How would you use the application behaviour callbacks
prep_stop/1 and stop/1?


More information about the erlang-questions mailing list