Erlang supervisor start_child

shk <>
Sun Jan 30 14:57:29 CET 2011


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:

Thank you.
View this message in context:
Sent from the Erlang Questions mailing list archive at

More information about the erlang-questions mailing list