[smokeping-users] smokeping --restart not working

Patrick Rother krd-smokeping-users at gulu.net
Wed Nov 6 07:52:49 MET 2002


Hallo.

I can reproduce that "smokeping --restart" doesn't restart smokeping,
because the "kill -1" of the running process doesn't make it die.

$ smokeping --restart
### fping seems to report in 1 miliseconds
ERROR: Can not stop running instance of SmokePing (28769)
$ ps ax | grep 28769
21579 pts/19   S      0:00 grep 28769
28769 ?        S      2:59 /usr/bin/perl -w ./smokeping --restart
$ kill -1 28769
$ sleep 5
$ ps ax | grep 28769
21718 pts/19   S      0:00 grep 28769
28769 ?        S      2:59 /usr/bin/perl -w ./smokeping --restart
$

What can be done to improve this?
Shall the "kill -1" replaced by "kill -15", or is there a $SIG{HUP}
handler missing?

Any idea?

--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the smokeping-users mailing list