diff --git a/utils/poolmonitor.in b/utils/poolmonitor.in index 0a85dbc3df844d44a923ca33b97cc33cb9eb701b..ca15dcec5d2e8231d7103bbd6284a7e8cf72c826 100644 --- a/utils/poolmonitor.in +++ b/utils/poolmonitor.in @@ -131,6 +131,7 @@ $SIG{HUP} = \&handler if (! ($debug || $oneshot)); print "Pool Monitor starting... pid $$, at ".`date`; +$lastmail = time(); while (1) { if (NoLogins()) { @@ -153,7 +154,7 @@ while (1) { while (my ($node_id) = $query_result->fetchrow_array()) { print "Checking to see if $node_id is reactive ...\n"; - my $status = SSHwithTimeout($node_id, "ls / > /dev/null", 15, $debug); + my $status = SSHwithTimeout($node_id, "ls / > /dev/null", 30, $debug); if ($status) { print "--> $node_id is down for the count!\n"; if (!exists($warned{$node_id})) {