Replies: 5 comments 3 replies
-
Wow, thanks a lot for this nice guide! :) |
Beta Was this translation helpful? Give feedback.
-
This was so helpful! |
Beta Was this translation helpful? Give feedback.
-
Thank you! This has been an issue for a while for me <3 |
Beta Was this translation helpful? Give feedback.
-
Just noticed the issue on one of my Nextcloud instances and solved it in a couple of minutes. Thanks a lot for your contribution! |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, I can't get this to work, and am thankful for any pointers. I hope I'm correct in understanding that I am to run these commands on my host system? My host system is a QNAP NAS. The first command results in What can I do to fix this? Also, is this a rare misconfiguration on some systems (like mine) or is this a common error message that most people don't notice since it's buried in the redis logs? |
Beta Was this translation helpful? Give feedback.
-
If you see a warning like this, you have to enable
overcommit
on your host machine (outside docker).Solution
echo "vm.overcommit_memory = 1" | sudo tee /etc/sysctl.d/nextcloud-aio-memory-overcommit.conf
should be set, to enable Memory overcommit on reboot, change will apply after reboot or see the line below how to activate it temporary without rebootsysctl "vm.overcommit_memory=1"
enables Memory overcommit on-the-fly temporary, then restart Nextcloud AIO from the AIO InterfaceNote for Docker Desktop instances: See https://stackoverflow.com/a/69294687 for how to apply sysctl config values.
Background
Due to the fact that (for good reasons) the Redis container does not run in privileged mode, there is no way that Nextcloud AIO or Redis can enable this for you, i.e.,
/proc
is read-only for containers.See Redis documentation, corresponding docker issue and kernel documentation
Beta Was this translation helpful? Give feedback.
All reactions