Supervisor not restarting a "permanent" child

Arun Suresh <>
Wed Feb 10 16:05:52 CET 2010


Hi

I just encountered a situation where my supervisor isnt restarting a child
which has been marked as "permanent".
The child is itself another supervisor.. the Spec looks like this :
 {mq_sup, {mq_sup, start_link,[]},
     permanent, infinity, supervisor, [mq_sup]},

The supervisor restart strategy is : {one_for_one, 300, 300}

>From the sasl logs.. i see that the supervisor had tried restarting the
child a couple of times.. and then gave up restarting it..

Was wondering if anybody else has ever been in such a situation.

Thanx
-Arun


More information about the erlang-questions mailing list