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

Fix redis warnings #238

Open
kirtangajjar opened this issue Nov 27, 2018 · 1 comment
Open

Fix redis warnings #238

kirtangajjar opened this issue Nov 27, 2018 · 1 comment
Labels
good first issue Good for newcomers

Comments

@kirtangajjar
Copy link
Contributor

1:M 27 Nov 2018 12:35:57.270 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
1:M 27 Nov 2018 12:35:57.270 # Server initialized
1:M 27 Nov 2018 12:35:57.270 # 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.
1:M 27 Nov 2018 12:35:57.270 # 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.

Getting following error in logs of global-redis.

We might need to fix it on host or container or on both.

@rahul286
Copy link
Member

Yep. 128 limit is too small. Please refer https://easyengine.io/tutorials/linux/sysctl-conf/

@kirtangajjar kirtangajjar added the good first issue Good for newcomers label Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants