Skip to content

Increase tcp-backlog for redis-pubsub correctly

Sylvester Chin requested to merge sc1-tcp-backlog-pubsub-retry into master

What

This change increases tcp-backlog for redis-pubsub to 1024.

This matches the somaxconn on the node:

gke-gitlab-3okls-redis-pubsub-2-3f44a687-trjx ~ # sysctl net.ipv4.tcp_max_syn_backlog
net.ipv4.tcp_max_syn_backlog = 2048
gke-gitlab-3okls-redis-pubsub-2-3f44a687-trjx ~ # sysctl net.core.somaxconn
net.core.somaxconn = 1024

See issue: gitlab-com/gl-infra/scalability#2947

Why

Retry of !874 (merged) as the value was overridden. See !874 (comment 1807554574)

Merge request reports