When you start your first Aiven for Redis service you may notice this worrying-looking warning about overcommit memory:

# 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.

Fortunately this warning is harmless and can be safely ignored because we limit Redis memory usage a little differently from how the software is usually deployed. This means the available memory will never drop low enough to hit this particular failure case.

You can read more about Aiven for Redis memory management in this article: https://help.aiven.io/en/articles/2413342-redis-memory-usage-on-disk-persistence-and-replication

Did this answer your question?