mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 00:52:38 +00:00
benchmark now outputs the right command line to shorten the TIME_WAIT interval on Mac OS X when keep alive is set
This commit is contained in:
parent
0ea663ea01
commit
c32514972c
@ -421,7 +421,7 @@ int main(int argc, char **argv) {
|
||||
parseOptions(argc,argv);
|
||||
|
||||
if (config.keepalive == 0) {
|
||||
printf("WARNING: keepalive disabled, you probably need 'echo 1 > /proc/sys/net/ipv4/tcp_tw_reuse' in order to use a lot of clients/requests\n");
|
||||
printf("WARNING: keepalive disabled, you probably need 'echo 1 > /proc/sys/net/ipv4/tcp_tw_reuse' for Linux and 'sudo sysctl -w net.inet.tcp.msl=1000' for Mac OS X in order to use a lot of clients/requests\n");
|
||||
}
|
||||
|
||||
do {
|
||||
|
Loading…
Reference in New Issue
Block a user