In our project we have global data which loaded in Loader.on_worker_process_init method. Sometimes it takes more than 2 seconds. In that case when child process dies AsynPool starts new one and then kills it.
There are many messages in logs:
Timed out waiting for UP message from <Worker(Worker-6, started daemon)>
Moving data loading into worker_process_init signal handler doesn't help.
Now I moved loading data into Loader.on_task_init.
Maybe there should be option or setting which could set AsynPool._proc_alive_timeout attribute?
Or perhaps add information in docs that worker_process_init signal and Loader.on_worker_process_init should be executed within 2 seconds.