2h4dl opened a new issue #80: multiprocessing pool hangs on join
URL: https://github.com/apache/rocketmq-client-python/issues/80
 
 
   I'm trying to run some python code in parallel.
   Once I received a message , I would use `multiprocessing.Pool` and 
'apply_async' to process this message.
    A moment later, I found multiprocessing pool hangs on join and no messages 
consumed.
   With `ps -ppid=${pid}` command, I found this:
   ```
     PID TTY          TIME CMD
     312 pts/42   00:00:05 ConsumeTP
     313 pts/42   00:00:05 ConsumeTP
     314 pts/42   00:00:07 ConsumeTP
     315 pts/42   00:00:00 ConsumeTP
     317 pts/42   00:00:05 ConsumeTP
   44417 pts/42   00:00:01 ConsumeTP
   44418 pts/42   00:00:02 ConsumeTP
   44419 pts/42   00:00:00 ConsumeTP
   44425 pts/42   00:00:01 ConsumeTP
   44426 pts/42   00:00:00 ConsumeTP
   ```
   I don't know if this is the reason why the process hangs and can't consume 
message.  
   
https://github.com/apache/rocketmq-client-python/issues/77#issuecomment-563075087
   
    - What is your OS?
       Ubuntu 16.04
    - What is your client version?
      I'm using this python client from 
https://github.com/apache/rocketmq-client-python/issues/77#issuecomment-563075087,
 because have the same import error.
    - What is your RocketMQ version?
      Not clear

----------------------------------------------------------------
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