• Resolved project40

    (@project40)


    Hi, I have setup everything correctly on my WordPress website but my REDIS server keeps disconnecting every few hours and i have to restart it. I get an error Could not connect to Redis at 127.0.0.1:6379: Connection refused.

    Has anyone else faced this issue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    Check your Redis Server logs why it crashes or shuts down Also use a service manager to keep your Redis Server alive.

    Thread Starter project40

    (@project40)

    Thank you for your response. The error i get is
    May 29 12:04:44 host02 kernel: Out of memory: Killed process 1409099 (redis-server) total-vm:4047228kB, anon-rss:2927924kB, file-rss:0kB, shmem

    My AWS instance is 64GB memory and 16CPU.

    Here is my REDIS config
    maxmemory 16gb
    maxmemory-policy allkeys-lru

    Thank you

    Plugin Author Till Krüss

    (@tillkruess)

    Since you set maxmemory-policy=allkeys-lru I’m not sure I can be helpful with this. I’d suggest asking devops people on Stack Overflow to see why your Redis process gets killed, even tho you set an eviction policy.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.