Skip to content

Commit

Permalink
clusterd: Increase lsof timeout
Browse files Browse the repository at this point in the history
donald committed Mar 10, 2018
1 parent 768d7dc commit 98bb305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clusterd/clusterd
Original file line number Diff line number Diff line change
@@ -1204,7 +1204,7 @@ sub clp_rx_LSOF {
defined $pid or die "$!\n";
unless ($pid) {
$socket->blocking(1);
open P,'timeout -k 12s 10s lsof -n|' or die "$!\n";
open P,'timeout -k 32s 30s lsof -n|' or die "$!\n";
while (<P>) {
next if defined $pattern && index($_,$pattern)<0;
$socket->send(pack('n',length($_)).$_,0);

0 comments on commit 98bb305

Please sign in to comment.