2h4dl commented on issue #80: multiprocessing pool hangs on join
URL: 
https://github.com/apache/rocketmq-client-python/issues/80#issuecomment-569588034
 
 
   Hi @messense, stacktrace is here with main process:
   ```
   Process 31197: python3 json_edit_server.py
   Python v3.6.8 (/usr/local/python3.6.8/bin/python3.6)
   
   Thread 31197 (idle): "MainThread"
       select (selectors.py:376)
       serve_forever (socketserver.py:236)
       serve_forever (werkzeug/serving.py:734)
       inner (werkzeug/serving.py:966)
       run_simple (werkzeug/serving.py:1009)
       run (flask/app.py:990)
       <module> (json_edit_server.py:261)
   Thread 31344 (idle): "Dummy-2"
       _wait_for_tstate_lock (threading.py:1072)
       join (threading.py:1056)
       join (multiprocessing/pool.py:546)
       pic_edit (json_edit_server.py:122)
       process (json_edit_server.py:192)
       _on_message (rocketmq/client.py:385)
   Thread 3585 (idle): "Thread-30"
       _handle_workers (multiprocessing/pool.py:406)
       run (threading.py:864)
       _bootstrap_inner (threading.py:916)
       _bootstrap (threading.py:884)
   Thread 3586 (idle): "Thread-31"
       wait (threading.py:295)
       get (queue.py:164)
       _handle_tasks (multiprocessing/pool.py:415)
       run (threading.py:864)
       _bootstrap_inner (threading.py:916)
       _bootstrap (threading.py:884)
   Thread 3587 (idle): "Thread-32"
       _recv (multiprocessing/connection.py:379)
       _recv_bytes (multiprocessing/connection.py:407)
       recv (multiprocessing/connection.py:250)
       _handle_results (multiprocessing/pool.py:463)
       run (threading.py:864)
       _bootstrap_inner (threading.py:916)
       _bootstrap (threading.py:884)
   Thread 31345 (idle): "Dummy-1"
       _wait_for_tstate_lock (threading.py:1072)
       join (threading.py:1056)
       join (multiprocessing/pool.py:546)
       pic_edit (json_edit_server.py:122)
       process (json_edit_server.py:192)
       _on_message (rocketmq/client.py:385)
   Thread 7602 (idle): "Thread-33"
       _handle_workers (multiprocessing/pool.py:406)
       run (threading.py:864)
       _bootstrap_inner (threading.py:916)
       _bootstrap (threading.py:884)
   Thread 7603 (idle): "Thread-34"
       wait (threading.py:295)
       get (queue.py:164)
       _handle_tasks (multiprocessing/pool.py:415)
       run (threading.py:864)
       _bootstrap_inner (threading.py:916)
       _bootstrap (threading.py:884)
   Thread 7604 (idle): "Thread-35"
       _recv (multiprocessing/connection.py:379)
       _recv_bytes (multiprocessing/connection.py:407)
       recv (multiprocessing/connection.py:250)
       _handle_results (multiprocessing/pool.py:463)
       run (threading.py:864)
       _bootstrap_inner (threading.py:916)
       _bootstrap (threading.py:884)
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to