Erlang supervisor start_child
shk
kuleshovmail@REDACTED
Sun Jan 30 14:57:29 CET 2011
Hello,
I write pop3 server. My application:
root supervisor (one_for_one) -> listener supervisor(one_for_one) ->
fsm supervisor (simple one_for_one) and listener gen_server
I run all supervisors it's ok. When i try to start_child of fsm supervisor 2
or more times i get error: {error,{already_started,<0.324.0>}}
How can i correctly design my supervisors that i can run many gen_fsm child
by fsm supervisor.
All code: https://github.com/onlyshk/epmail
Thank you.
--
View this message in context: http://erlang.2086793.n4.nabble.com/Erlang-supervisor-start-child-tp3247153p3247153.html
Sent from the Erlang Questions mailing list archive at Nabble.com.
More information about the erlang-questions
mailing list