redis manually start the warning process

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/mzg5050/article/details/102720800

# redis-server

4093:M 24 Oct 12:32:48.592 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn                         is set to the lower value of 128.
4093:M 24 Oct 12:32:48.592 # Server started, Redis version 3.0.7
4093:M 24 Oct 12:32:48.592 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To                         fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_m                        emory=1' for this to take effect.
4093:M 24 Oct 12:32:48.593 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create                         latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugep                        age/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarte                        d after THP is disabled.
4093:M 24 Oct 12:32:48.593 * The server is now ready to accept connections on port 6379
 

We can fix all warnings

Guess you like

Origin blog.csdn.net/mzg5050/article/details/102720800
Recommended