رسائل تحذير Redis في Docker لـ Discourse

188:M 13 Sep 04:27:11.292 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.

My question is, is this on the host or the docker? Because on the host it’s already 1024. I checked with cat /proc/sys/net/core/somaxconn

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.

My server is a multi-service service and I run many services on it, including other databases (mariadb) for instance. What are the consequences of disabling this on other services and databases?

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.

This one I fixed with the command on the host fine. But I feel like there should be more documentation on this warnings, and how they affect our systems. sorry if my questions are dumb…

يُفترض أن يتعامل discourse-setup مع مثل هذه المشكلات في الوقت الحالي.

لست متأكدًا مما إذا كانت هذه مشكلة لا تزال قائمة @pfaffman

لا يقوم discourse-setup بتعيين إعدادات THP أو maxconn أو overcommit_memory؛ فهو يضيف مساحة تبديل (swap) فقط إذا كانت الذاكرة العشوائية (RAM) أقل من أو تساوي 2 جيجابايت. قمت بتعيين هذه الإعدادات في بيئاتي، لكنني لم أتحقق بعناية لمعرفة ما إذا كانت تساعد حقًا في اختفاء هذه الرسالة. يبدو لي أنني أرى هذه الرسائل تتدحرج أثناء العرض؟

أفترض أنه يحدث على المضيف، لكن هذا يثير فيّ التساؤل.