SV: SV: Killing Supervisor

Lennart Öhman Lennart.Ohman@REDACTED
Wed Apr 26 16:51:37 CEST 2006

But still the higher level supervisor will see this as that the
child-supervisor you just terminated has terminated due to a fault.
It will try to restart it according to the type (temporary, transient
or permenant) and restart intensity.
If one wants to get rid of children, the supervisor API
supervisor:terminate_child/2 should be used.
Best regards,
Lennart Ohman                   phone   : +46-8-587 623 27
Sjöland & Thyselius Telecom AB  cellular: +46-70-552 6735
Sehlstedtsgatan 6               fax     : +46-8-667 8230
SE-115 28 STOCKHOLM, SWEDEN     email   : lennart.ohman@REDACTED


Från: owner-erlang-questions@REDACTED genom Samuel Rivas
Skickat: on 2006-04-26 16:31
Till: erlang-questions@REDACTED
Ämne: Re: SV: Killing Supervisor

Lennart Öhman wrote:
>    If you simply do exit(Pid,kill) on the supervisor, it will not
>    be given the chance of terminating its children in an ordered
>    way.
  Calling exit(SupervisorPid, shutdown) in the supervisor's parent
process would do the trick.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the erlang-questions mailing list