version 1.68, 2006/10/25 21:33:54
|
version 1.70, 2007/02/02 12:59:13
|
Line 550 sub check_delayed_msg {
|
Line 550 sub check_delayed_msg {
|
# this will trigger a reverse connection, which should flush the buffers |
# this will trigger a reverse connection, which should flush the buffers |
foreach my $tryserver (keys %servers) { |
foreach my $tryserver (keys %servers) { |
my $answer=&reply("pong",$tryserver,$hostname); |
my $answer=&reply("pong",$tryserver,$hostname); |
&log($fh,"Pong to $tryserver: $answer"); |
&log($fh,"Pong to $tryserver: $answer<br />"); |
} |
} |
} |
} |
|
|
Line 719 sub main () {
|
Line 719 sub main () {
|
&checkon_daemon($fh,'lonc',40000,'USR1',$args); |
&checkon_daemon($fh,'lonc',40000,'USR1',$args); |
&checkon_daemon($fh,'lonhttpd',40000); |
&checkon_daemon($fh,'lonhttpd',40000); |
&checkon_daemon($fh,'lonmemcached',40000); |
&checkon_daemon($fh,'lonmemcached',40000); |
|
&checkon_daemon($fh,'lonmaxima',40000); |
} |
} |
if ($justreload) { |
if ($justreload) { |
&checkon_daemon($fh,'lond',40000,'USR2'); |
&checkon_daemon($fh,'lond',40000,'USR2'); |