Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
laughk opened this issue Aug 26, 2017 · 1 comment

Comments

@laughk
Copy link
Owner

laughk commented Aug 26, 2017

#4 の際のメモ

Redis の Docker コンテナを使ってたところ以下のようなメッセージが出ていた。

redis_1  | 1:C 26 Aug 06:48:16.124 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1  | 1:C 26 Aug 06:48:16.125 # Redis version=4.0.1, bits=64, commit=00000000, modified=0, pid=1, just started
redis_1  | 1:C 26 Aug 06:48:16.125 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis_1  | 1:M 26 Aug 06:48:16.126 * Running mode=standalone, port=6379.
redis_1  | 1:M 26 Aug 06:48:16.126 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
redis_1  | 1:M 26 Aug 06:48:16.126 # Server initialized
redis_1  | 1:M 26 Aug 06:48:16.126 # 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_memory=1' for this to take effect.
redis_1  | 1:M 26 Aug 06:48:16.126 # 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_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
redis_1  | 1:M 26 Aug 06:48:16.126 * Ready to accept connections
@BarryLoo
Copy link

ま、その状況なら。ご覧下さい。@laughk redis/docker-library-redis#35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants