Performing an orderly shutdown with OTP

Vance Shipley vances@REDACTED
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
brutal.

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 
shutdown_func?

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


	-Vance





More information about the erlang-questions mailing list