[DONE]Killing zombie process

I use thirty party application on M5 working 24/7/365. The problem is that this app once per 2-3 months disappear but leave zombie process. I can not kill such process and it is impossible to restart app because it says that app is already running. I have no access to code of this app.
As far as I know, the only way to kill zombie process is killing parent process. But the parent process is init. It is not necessary to run app from init. I can start it from cron using entry:
I can not test it on-line (because it occurs once per 2-3 months) so my question is:
If I will use the upper syntax (with "&" at the end), the parent process will be cron? If so I can turn off crond service for a moment, kill zombie and start crond again. Will it work properly? Any other proposal?
As far as I know, the only way to kill zombie process is killing parent process. But the parent process is init. It is not necessary to run app from init. I can start it from cron using entry:
- Code: Select all
@reboot sleep 120;may_app&
I can not test it on-line (because it occurs once per 2-3 months) so my question is:
If I will use the upper syntax (with "&" at the end), the parent process will be cron? If so I can turn off crond service for a moment, kill zombie and start crond again. Will it work properly? Any other proposal?