[Rspamd-Users] redis OOM
Wiethoff, Helge
helge.wiethoff at thga.de
Fri Jun 28 06:40:42 UTC 2019
Hi,
i have an issue with a rspamd-instance: After several weeks continuous operation
the memory of the redis DB seems to be full and the postgrey listings are no
longer fed: everything that initially ran into greylisting was no longer
delivered because the triplet could not be found in the DB.
I tried to change maxmemory-policy from volatile-lru to volatile-ttl. But with
no effect.
My local.d/statistics.conf is equal to:
https://rspamd.com/doc/configuration/statistic.html#redis-statistics
Otherwise I don't have any changes in local.d or override.d that point to a
connection with redis.
Does anyone have any idea what I could do next?
Cheers,
Helge
---------------------
My redis.conf:
host:~# cat /etc/redis.conf | egrep '^\s*[^#$]'
bind 127.0.0.1
protected-mode yes
port 6379
tcp-backlog 511
timeout 0
tcp-keepalive 300
daemonize no
supervised no
pidfile /var/run/redis_6379.pid
loglevel notice
logfile /var/log/redis/redis.log
databases 16
save 900 1
save 300 10
save 60 10000
stop-writes-on-bgsave-error yes
rdbcompression yes
rdbchecksum yes
dbfilename dump.rdb
dir /var/lib/redis
slave-serve-stale-data yes
slave-read-only yes
repl-diskless-sync no
repl-diskless-sync-delay 5
repl-disable-tcp-nodelay no
slave-priority 100
maxmemory 3gb
maxmemory-policy volatile-ttl
appendonly no
appendfilename "appendonly.aof"
appendfsync everysec
no-appendfsync-on-rewrite no
auto-aof-rewrite-percentage 100
auto-aof-rewrite-min-size 64mb
aof-load-truncated yes
lua-time-limit 5000
slowlog-log-slower-than 10000
slowlog-max-len 128
latency-monitor-threshold 0
notify-keyspace-events ""
hash-max-ziplist-entries 512
hash-max-ziplist-value 64
list-max-ziplist-size -2
list-compress-depth 0
set-max-intset-entries 512
zset-max-ziplist-entries 128
zset-max-ziplist-value 64
hll-sparse-max-bytes 3000
activerehashing yes
client-output-buffer-limit normal 0 0 0
client-output-buffer-limit slave 256mb 64mb 60
client-output-buffer-limit pubsub 32mb 8mb 60
hz 10
aof-rewrite-incremental-fsync yes
---------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7735 bytes
Desc: not available
URL: <https://lists.rspamd.com/pipermail/users/attachments/20190628/1b6913d5/attachment.bin>
More information about the Users
mailing list