Skip to content

Commit

Permalink
Increase listen queue size for clp port
Browse files Browse the repository at this point in the history
With 234 hosts pulling a file we failed to service a single on with the
old setting listen=1.
  • Loading branch information
donald committed Dec 7, 2017
1 parent 1b1370d commit d1e725e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clusterd
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,7 @@ our $clp_listen_socket;
our %CLP_HANDLER=('CMD'=>\&clp_rx_CMD,'LSOF'=>\&clp_rx_LSOF,'PULL'=>\&clp_rx_PULL);

sub clp_init {
$clp_listen_socket=new IO::Socket::INET(LocalPort=>$CLP_PORT,Proto=>'tcp',Listen=>1,ReuseAddr=>1);
$clp_listen_socket=new IO::Socket::INET(LocalPort=>$CLP_PORT,Proto=>'tcp',Listen=>128,ReuseAddr=>1);
defined $clp_listen_socket or die "$!\n";
My::Select::reader($clp_listen_socket,\&clp_connect_request);
}
Expand Down

0 comments on commit d1e725e

Please sign in to comment.