Thank you. Two questions.
1) Given the man page looks like:
sysctl - configure kernel parameters at runtime
sysctl [-n] [-e] variable ...
sysctl [-n] [-e] [-q] -w variable=value ...
sysctl [-n] [-e] [-q] -p [filename]
What is the 'variable' for this setting? when I do sysctl -a I don't see just these variable names (I do see net.ipv4.tcp_max_syn_backlog and net.core.somaxcon. Are they the same thing? So I am assuming that the warning will be fixed with:
sysctl -w net.core.somaxconn=511
sysctl -w net.ipv4.tcp_max_syn_backlog=511
When I reboot the setting remains unchanged (e.g. using sysctl -a | grep somaxconn)
2) I am assuming that since this seems to be a default value it is the recommended setting for Redis. But what does 'TCP backlog setting" control? I see in the commented redis conf:
# In high requests-per-second environments you need an high backlog in order
# to avoid slow clients connections issues. Note that the Linux kernel
# will silently truncate it to the value of /proc/sys/net/core/somaxconn so
# make sure to raise both the value of somaxconn and tcp_max_syn_backlog
# in order to get the desired effect.
It mentions two settings. Are this 'variables' in sysctl speak? I am not sure what each 'variable' is doing?
Thanks again.