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 <rep...@bugs.python.org> <http://bugs.python.org/issue28857> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com