You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/10/01 20:12:41 UTC

[GitHub] fhieber commented on issue #12710: Process Deadlock with mxnet-mkl and mkl-optimized numpy

fhieber commented on issue #12710: Process Deadlock with mxnet-mkl and mkl-optimized numpy
URL: https://github.com/apache/incubator-mxnet/issues/12710#issuecomment-426046368
 
 
   Actually, there is no need for the subprocess to be a Python process. replacing `cmd = [sys.executable, sys.argv[0], 'test']` with `cmd = ['ls']` produces the same hanging.
   
   The hang does **not** occur if one comments the following lines from the code:
   ```python
   mod.forward(batch)
   mod.backward()
   mod.update()
   ```
   
   So it seems that mxnet-mkl is somehow preventing any subprocess forking.
   If the above code example is run in a debugger, the hanging occurs in the call to `self._execute_child(...)` in subprocess.py, line 1268.

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


With regards,
Apache Git Services