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:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to