[erlang-questions] Node gets terminated when worker completes

Erik Søe Sørensen eriksoe@REDACTED
Mon Aug 19 23:04:55 CEST 2013


What are the last life signs from the worker (or the system)?
Have you got sasl started?
Den 19/08/2013 17.27 skrev "Yash Ganthe" <yash_ganthe@REDACTED>:

>  Hi,****
>
> ** **
>
> In the supervisor I have:****
>
> ** **
>
> init(_Args) ->****
>
>     WorkerSpec= {?WORKERMOD,****
>
>          {?WORKERMOD,start_link,[]},****
>
>          temporary,****
>
>          5000,****
>
>          worker,****
>
>          [?WORKERMOD]},****
>
>     {ok,{{simple_one_for_one,1,1}, [WorkerSpec]}}.****
>
>                 ****
>
> ** **
>
> The Worker is a gen_server which terminates gracefully after completing
> its work. Once this happens, the entire node just shuts down without any
> message. There is no dump file.****
>
> ** **
>
> Is there anything in the spec above that causes this behavior?****
>
> ** **
>
> I am using Erlang R16B (erts-5.10.1) [source] [64-bit] [async-threads:10]
> [kernel-poll:false]****
>
> ** **
>
> Thanks,****
>
> Yash****
>
> DISCLAIMER ========== This e-mail may contain privileged and confidential
> information which is the property of Persistent Systems Ltd. It is intended
> only for the use of the individual or entity to which it is addressed. If
> you are not the intended recipient, you are not authorized to read, retain,
> copy, print, distribute or use this message. If you have received this
> communication in error, please notify the sender and delete all copies of
> this message. Persistent Systems Ltd. does not accept any liability for
> virus infected mails.
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130819/ec60a290/attachment.htm>


More information about the erlang-questions mailing list