circus-tent/circus

arbiter is already running arbiter_start_watchers command

tinylambda opened this issue · 2 comments

After fixing the logger issue, when starting circus, an error information get exposed , anyone know how to fix it ?

image

@k4nar

Since tornado 6.0, "IOLoop.handle_callback_exception`` have been removed"

https://github.com/tornadoweb/tornado/releases/tag/v6.0.0

"circus.exc.ConflictError: arbiter is already running arbiter_start_watchers command"

We can set check_delay to a higher value to avoid checking before the processes all started successfully.

But there may be a better way to notify the checker all processes got up and run, you can check them periodically now. Use a Event ? CountDownLatch ? to coordinate the flow.