From a33dec401d4ec12cb239bcaf53d490fd3e9c50a4 Mon Sep 17 00:00:00 2001 From: hadaq Date: Wed, 28 Jan 2009 16:28:00 +0000 Subject: [PATCH] ReusePort option for socket added. Sergey. --- plugins/check_lustre.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/check_lustre.pl b/plugins/check_lustre.pl index 6a64f62..4c580f9 100755 --- a/plugins/check_lustre.pl +++ b/plugins/check_lustre.pl @@ -110,7 +110,8 @@ sub statusServer{ unless (defined( $server_socket = IO::Socket::INET->new( LocalPort => $server_port, Proto => 'tcp', - Listen => SOMAXCONN ) )) + Listen => SOMAXCONN, + ReusePort => 1) )) { print "ERROR: Cannot start status server!\n"; &exitProgram(2); -- 2.43.0