• Resolved Marisa

    (@marisa2023)


    I will be installing the Redis server in the next few days. I will be using a restrictive Linux environment without root access, but Internet articles say it is still possible to make and run Redis without root access.

    However I don’t know if I will have the right commands to make the Redis server automatically restart itself if it goes down.

    What will this WordPress plugin do if the Redis process it is attached to goes down? Will this break the WordPress site or will it just go back to access the MySQL database directly?

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

    (@tillkruess)

    you can use supervisord to restart Redis.

    like SQL, Redis must be available for WordPress to function.

    Thread Starter Marisa

    (@marisa2023)

    I don’t have supervisord available on my Linux system.

    I’ve just downloaded the redis source files and used make to build them. The process completed successfully.

    Thread Starter Marisa

    (@marisa2023)

    My webserver has 8Gb of physical memory. Typically only 0.5 to 2 Gb is being used.

    Can you provide a sample redis.conf file with suitable settings such as maxmemory.

    Thread Starter Marisa

    (@marisa2023)

    OK. I’ve figured out now how to restart redis if I don’t have root access. I just use cron to check to see if the redis process is running. If it is not, then restart it. I don’t need root access for this.

    However it would still be nice to have a sample redis.conf file. My webserver has 8Gb of physical memory and at most 2 Gb is needed for normal operations. So plenty of physical memory to give to redis.

    Thread Starter Marisa

    (@marisa2023)

    I’ve found out now. Given my webserver has 8Gb of physical memory a suitable minimal redis.conf file should contain

    maxmemory 2gb
    maxmemory-policy allkeys-lru

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.