Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6107

Redis 5.0.5: WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128

$
0
0

I have windows 10 home, where is installed Ubuntu

lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription:    Ubuntu 18.04.2 LTSRelease:        18.04Codename:       bionic

I have installed Redis 5.0.5 (it mostly with make and make install)

When I startup the server with redis-server it shows some warnings.

I have removed one about overcommit_memory

But about:

WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.

I have read these two links:

Thus both indicate do the following:

  • Go to the /etc directory
  • Create the rc.local file, sudo vim rc.local
  • Add the sysctl -w net.core.somaxconn=65535 content and save

I can confirm through

cat rc.localsysctl -w net.core.somaxconn=65535

Well in a secondary terminal I execute redis-cli shutdown and in the primary terminal execute again redis-server

Problem the same warning appears, What is missing?

Note I have the same situation even after to execute sudo chmod +x rc.local


Viewing all articles
Browse latest Browse all 6107

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>