Question
Wha is the recommended command to kill hvrscheduler in the Linux hub?
Answer
There are two ways of killing hvrscheduler:
- Using
hvrscheduler -k
- Unix kill command
We recommend using hvrscheduler -k
.
Hvrscheduler -k
first tries to connect to the old daemon and asks it to suicide. If that fails or takes too long, it kills the old scheduler process mentioned in the .pid file, but only after sanity checks, including that the node names match. It also clears up the old .pid file and file with the running node and port info. Using kill -9
will typically work, but it is not recommended.