[Rspamd-Users] Redis is constantly busy and need 12GB Ram
Gerald Galster
list+rspamd at gcore.biz
Sun Feb 4 02:14:24 UTC 2024
> Is it normal that RspanD establishes a hundred client connections to Redis at the same time.
How do you measure that? Are these established sockets or sockets in time_wait state?
How many mails do you receive in parallel?
Are there separate redis instances for bayes, replies, reputation, ...?
> I only have 10 email accounts and 1000 emails a day. But Redis is constantly busy. Redis is only used by Rspamd.
How do you define busy? One redis instance that uses 100% cpu all day?
> I limited Redis' maxmemory to 1G. Previously it was 12GB RAM with redis. How do I get this under control?
What kind of memory is that, resident (rss) or virtual?
Some people like to configure a separate redis instance for the bayes classifier and let redis evict old keys:
https://rspamd.com/doc/modules/bayes_expiry.html#limiting-memory-usage-to-a-fixed-amount
Best regards,
Gerald
More information about the Users
mailing list