Replies: 1
I'm not sure if this is caused by Redis or something else on my server, but since upgrading to version 2.5.3 I've had the Redis server die twice due to memory spikes, last time was definitely when traffic is normally slow on my website. Can you clarify if the latest release change notes address any of this or if I need a dev to investigate further? At this point I'm going to just stop using the plugin if it bricks my site when the Redis server dies.
Here is the info I have from the logs:
var/log/messages-20241020:Oct 18 20:10:42 mail kernel: OOM killed process 4873 (php-fpm) total-vm:524832kB, anon-rss:221484kB, file-rss:9832kB
/var/log/messages-20241020:Oct 18 20:10:43 mail kernel: OOM killed process 4884 (php-fpm) total-vm:475296kB, anon-rss:171212kB, file-rss:9832kB
/var/log/messages-20241020:Oct 18 20:10:43 mail kernel: OOM killed process 4885 (php-fpm) total-vm:485536kB, anon-rss:180048kB, file-rss:9832kB
/var/log/messages-20241020:Oct 18 20:10:43 mail kernel: OOM killed process 4904 (php-fpm) total-vm:487884kB, anon-rss:182848kB, file-rss:9768kB
/var/log/messages-20241020:Oct 18 20:10:44 mail kernel: OOM killed process 4874 (php-fpm) total-vm:454068kB, anon-rss:149556kB, file-rss:9844kB
/var/log/messages-20241020:Oct 18 20:10:44 mail kernel: OOM killed process 4876 (php-fpm) total-vm:453152kB, anon-rss:148816kB, file-rss:9832kB
/var/log/messages-20241020:Oct 18 20:10:44 mail kernel: OOM killed process 4881 (php-fpm) total-vm:453152kB, anon-rss:148024kB, file-rss:9832kB
/var/log/messages-20241020:Oct 18 20:10:44 mail kernel: OOM killed process 4878 (php-fpm) total-vm:453152kB, anon-rss:147548kB, file-rss:9832kB
/var/log/messages-20241020:Oct 18 20:10:45 mail kernel: OOM killed process 4875 (php-fpm) total-vm:450784kB, anon-rss:146672kB, file-rss:9832kB
/var/log/messages-20241020:Oct 18 20:10:45 mail kernel: OOM killed process 4892 (php-fpm) total-vm:452920kB, anon-rss:148844kB, file-rss:9832kB
/var/log/messages-20241020:Oct 18 20:10:45 mail kernel: OOM killed process 4911 (php-fpm) total-vm:452160kB, anon-rss:148160kB, file-rss:9576kB
/var/log/messages-20241020:Oct 18 20:10:46 mail kernel: OOM killed process 4912 (php-fpm) total-vm:456452kB, anon-rss:150752kB, file-rss:9576kB
/var/log/messages-20241020:Oct 18 20:10:46 mail kernel: OOM killed process 4890 (php-fpm) total-vm:458912kB, anon-rss:154856kB, file-rss:9832kB
/var/log/messages-20241020:Oct 18 20:10:47 mail kernel: OOM killed process 4894 (php-fpm) total-vm:463152kB, anon-rss:157352kB, file-rss:9832kB
/var/log/messages-20241020:Oct 18 20:10:47 mail kernel: OOM killed process 4896 (php-fpm) total-vm:457012kB, anon-rss:152128kB, file-rss:9832kB
/var/log/messages-20241020:Oct 18 20:10:47 mail kernel: OOM killed process 13304 (spamd child) total-vm:260024kB, anon-rss:121328kB, file-rss:3424kB
/var/log/messages-20241020:Oct 18 20:10:48 mail systemd: spamd.service: main process exited, code=killed, status=9/KILL
/var/log/messages-20241020:Oct 18 20:10:48 mail systemd: Unit spamd.service entered failed state.
/var/log/messages-20241020:Oct 18 20:10:48 mail systemd: spamd.service failed.
/var/log/messages-20241020:Oct 18 20:10:48 mail systemd: redis.service: main process exited, code=killed, status=9/KILL
/var/log/messages-20241020:Oct 18 20:10:48 mail systemd: Unit redis.service entered failed state.
/var/log/messages-20241020:Oct 18 20:10:48 mail systemd: redis.service failed.
This is from the journalctl logs. It shows that it was killed, but not how or why:
Oct 15 09:16:57 mail.HIDDENURL.com systemd[1]: Starting Redis persistent key-value database...
Oct 15 09:16:57 mail.HIDDENURL.com systemd[1]: Started Redis persistent key-value database.
Oct 18 20:10:48 mail.HIDDENURL.com systemd[1]: redis.service: main process exited, code=killed, status=9/KIL
Oct 18 20:10:48 mail.HIDDENURL.com systemd[1]: Unit redis.service entered failed state.
Oct 18 20:10:48 mail.HIDDENURL.com systemd[1]: redis.service failed.
The last redis log also shows that it was running until the 18th then stopped:
4582:C 18 Oct 20:02:43.354 * DB saved on disk
4582:C 18 Oct 20:02:43.357 * RDB: 2 MB of memory used by copy-on-write
483:M 18 Oct 20:02:43.424 * Background saving terminated with success
483:M 18 Oct 20:07:44.001 * 10 changes in 300 seconds. Saving...
483:M 18 Oct 20:07:44.004 * Background saving started by pid 4722
4722:C 18 Oct 20:07:46.933 * DB saved on disk
4722:C 18 Oct 20:07:46.936 * RDB: 2 MB of memory used by copy-on-write
483:M 18 Oct 20:07:47.010 * Background saving terminated with success