mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
F #4302: SIGKILL to hanged vcenter_monitor processes
This commit is contained in:
1 file changed
+1
-1
@@ -42,7 +42,7 @@ if [ "${BASH_ARGV##* }" = "vcenter" ]; then
|
||||
VMON_PIDS=$(ps axuww | grep "ruby[^ ]* $VMON_PATH" | grep -v grep | awk '{print $2}')
|
||||
|
||||
if [ -n "$VMON_PIDS" ]; then
|
||||
kill $VMON_PIDS
|
||||
kill -9 $VMON_PIDS
|
||||
fi
|
||||
|
||||
# Create server FIFO
|
||||
|
||||
Reference in new issue
Block a user