I use ISPConfig, thank you for a great app! On my current mailserver, the Redis database has grown to almost 5GB in half a year. I found a useful tip: rspamd: second redis instance for bayes how to prevent the database from getting bigger in the future. For now, I need to delete unimportant data and reduce its memory requirements. I don't have experience with Redis DB, can you please advise how to safely delete bayes data (or others that take up a lot of space) in the current production database? My current Redis DB has a 36M keys: # redis-cli --stat keys mem clients blocked requests connections 36202030 4.47G 1 0 2651279538 (+0) 1312388 Thanks and have a nice day.
The post you linked to has the exact commands to do this. For non-bayes keys you would have to identify what it is you want deleted and use similar commands (the convention is to use a prefix in the key name for different proposes).