turbulence-release
turbulence-release copied to clipboard
Kill-process of a certain process doesn't last long
Hello.
I was trying to use the turbulence-release to perform turbulence-tests on one of our bosh deployments. I am facing some issues with the kill-process incident. When I am triggering this incident, the process is going down, however just for a few (~2-3) seconds. After that, monit process revives the failing process and the process becomes running again.
Upon taking a look at the codebase, I find that the incident causes a kill or pkill of the process specified in the incident. Thus, monit brings it back in its next iteration of monitoring. Can we instead do a monit stop <process> in order to simulate a longer downtime for the process? We can then bring back the process after a timeout, else leave it to the user to bring the process back.
Thanks!