[erlang-questions] Node gets terminated when worker completes
Yash Ganthe
yash_ganthe@REDACTED
Mon Aug 19 16:22:27 CEST 2013
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130819/fde27361/attachment.htm>
More information about the erlang-questions
mailing list