cookpad / kuroko2

Kuroko2 is a web-based job scheduler / workflow engine.
MIT License
314 stars 72 forks source link

[Q] How to restart command-executor processes during job execution. #73

Closed takisawa closed 7 years ago

takisawa commented 7 years ago

Overview

Could you tell me how to restart command-executor processes during job execution safety?

Background

When I terminated a command-executor process with a following command for upgrade Kuroko2, running Working Jobs had been left.

kill -QUIT `cat tmp/pids/command-executor.pid`

Then I deleted tha following DB data.

eisuke commented 7 years ago

@takisawa Please use the TERM signal, if you want to shutdown the command-excutor processes safety. Check https://github.com/treasure-data/serverengine#signals for details.

takisawa commented 7 years ago

@eisuke Thank you very much for your support!