This documentation is for an older version of HVR.
What Is the Command to Kill Hvrscheduler in Linux
Question
What is the recommended command to kill hvrscheduler in the Linux hub?
Environment
HVR 5
Answer
There are two ways to kill the hvrscheduler process in Linux:
- Using the HVR command hvrscheduler with option -k.
- Using the Linux/Unix kill command.
We recommend using the command hvrscheduler with option -k.
The command 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.