Redis Warning because of `/proc/sys/net/core/somaxconn`

How to fix this warning during the bench start?

16:12:01 redis_queue.1    | 11491:M 31 May 16:12:01.470 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.

Which value has to be set in /proc/sys/net/core/somaxconn?

Add this line

sysctl -w net.core.somaxconn=65535



Ref: Performance tips for Redis Cache Server – Tech and Me

Thanks @netchampfaris, but I think I can set to 600 instead of 65535 connections.