abhishek-ram / pyas2

This repo is no longer maintained and has been moved to https://github.com/abhishek-ram/django-pyas2
GNU General Public License v2.0
47 stars 23 forks source link

"python <defunct>" jobs when multiple files are sent to pyas2 #50

Open silverfox87ls opened 5 years ago

silverfox87ls commented 5 years ago

When pyas2 picks up one file at a time I have no problems. When multiple files are put in the outbound folder it sometimes doesn't process them until I "touch" all the files to update the timestamp. When it does process them as a batch I'm left with a "python " job for each file. After several defunct jobs build up I have to restart pyas2 for it to function automatically again. Python 2.7 on Oracle Linux 6.10

abhishek-ram commented 5 years ago

Yes even I have found this functionality to be unreliable sometimes. I will see if I can put in a fix but the best solution would be to call the sendmessage function by the process writing the files to the directory.

silverfox87ls commented 5 years ago

Scripting the sendmessage command helps, thank you.