[issue28857] SyncManager and Main Process fail to communicate after reboot or stoping with Ctrl - C

Nagarjuna Arigapudi report at bugs.python.org
Sun Dec 4 01:51:20 EST 2016


Nagarjuna Arigapudi added the comment:

I  added logs just to provide additional info. The problem is one of the process uses " /tmp/pymp-xTqdkd" for communication and other uses "/tmp/pymp-LOMHoT/listener-EbLeup". because of mismatch porcesse could communicate and multiprocess application shuts down, with message "process shutting down". The files/directories (temporary files in tmp) are not user defined, they are generated by Python.

This behavior is seen only after a running application is sent  (Ctrl C) or the server is rebooted while application is running. In Simple terms non-clean shutdown of application make application not runnable, because synchronization of multiprocess gets corrupted, rebooting or clearing /tmp does not fix the issue. 

Relevent Logs (both SyncManager-1 and MainProcess) is python code ( in multiprocessing package/module).


[INFO/SyncManager-1] created temp directory /tmp/pymp-xTqdkd

[DEBUG/MainProcess] failed to connect to address /tmp/pymp-LOMHoT/listener-EbLeup


This results in File not found error, and application shuts down.
The code in multiprocessing should be using same directory for communication.

Thanks

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28857>
_______________________________________


More information about the Python-bugs-list mailing list