-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Issue
It's quite forseeable that your script use other native executables to accomplish what you need to do. Those executable can have children of their own. When we stop a task that is running a script, only the script itself is stopped, all the childern contine running in the background.
Impact
Other
Installation method
Docker
Database
Postgres
Browser
Chrome
Semaphore Version
2.16.45
Ansible Version
Available upon request, but does not seem to be relevant
Logs & errors
Available upon request, but it seems there is nothing relevant there.
Manual installation - system information
N/A
Configuration
Availabile upon request. Seems irrelevant to the issue.
Additional information
I had a brief look at the source code, and it does not appear that it attempts to kill proces group / children. If the process locks some resource remote, or local, then the fact that it does not die is a big issue. For example if it keeps a port open, then no subsequent task execution can succed if they are using the same port.