Uberspace / lab

The Uberlab provides various tutorials - written by you! - on how to run software and tools on Uberspace 7.
https://lab.uberspace.de
Other
315 stars 414 forks source link

Redis conf.ini #1628

Open lautfunk opened 11 months ago

lautfunk commented 11 months ago

After encountering issues with the Redis settings, I discovered that it is advisable to extend the conf.ini with the following lines:

maxmemory 16777216
maxmemory-policy allkeys-lru

Firstly, this limits the maximum usable memory size to 16MB. Secondly, when the memory is full, a cleanup process is triggered, deleting the least recently used values to free up space in memory.