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

[docker redislabs/redisearch:1.4.0] warnings in docker log #525

Closed
retailify opened this issue Oct 29, 2018 · 1 comment
Closed

[docker redislabs/redisearch:1.4.0] warnings in docker log #525

retailify opened this issue Oct 29, 2018 · 1 comment

Comments

@retailify
Copy link

After the start of the redisearch container, the following warnings are issued. Is the provided container image ready for production?

1:C 28 Oct 09:43:09.827 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 28 Oct 09:43:09.828 # Redis version=4.0.10, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 28 Oct 09:43:09.828 # Configuration loaded
1:M 28 Oct 09:43:09.829 * Running mode=standalone, port=6379.
1:M 28 Oct 09:43:09.829 # 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 28 Oct 09:43:09.829 # Server initialized
1:M 28 Oct 09:43:09.829 # 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 28 Oct 09:43:09.829 # 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.
1:M 28 Oct 09:43:09.831 * <ft> RediSearch version 1.3.0 (Git=1.4.0)
1:M 28 Oct 09:43:09.831 * <ft> concurrency: ON, gc: ON, prefix min length: 2, prefix max expansions: 200, query timeout (ms): 500, timeout policy: return, cursor read size: 1000, cursor max idle (ms): 300000, max doctable size: 1000000, search pool size: 20, index pool size: 8,
1:M 28 Oct 09:43:09.832 * <ft> Initialized thread pool!
1:M 28 Oct 09:43:09.832 * Module 'ft' loaded from /usr/lib/redis/modules/redisearch.so
1:M 28 Oct 09:43:09.832 * Ready to accept connections

Thanks for this great software!

@itamarhaber
Copy link
Collaborator

Hello @retailify

These warnings are issued by Redis and are configurable at the host level, not from within the container.

Ref: redis/docker-library-redis#165

Closing this issue - please feel free to reopen if needed.

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