• Resolved Regenpfeifer

    (@regenpfeifer)


    Hello,

    I am using the Redis-Plugin on two different websites, both on the same server with the same WordPress-Theme and a similar set of plugins.

    Redis is running in Debian 10, systemctl service redis is showing me, that the Redis service is up and running. I also have flushed the cache with redis-cli.

    Nevertheless I have the problem, that activating the object-cache / drop-in (object-cache.php) is causing the following error:

    Service Unavailable

    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

    The website is unavailable until I am removing object-cache.php.

    I am getting this error on one of my websites permanently, the other site is running with redis drop-in activating, but sometimes I am also getting an error.

    On the same server I had an obsolete WordPress-site which was running the Redis plugin without any problems.

    If Redis plugin is running I am getting these diagnostics:

    Status: Verbunden
    Client: PhpRedis (v5.3.4)
    Drop-in: Valid
    Disabled: No
    Ping: 1
    Errors: []
    PhpRedis: 5.3.4
    Predis: Not loaded
    Credis: Not loaded
    PHP Version: 8.0.12
    Plugin Version: 2.0.21
    Redis Version: 5.0.3
    Multisite: No
    Metrics: Enabled
    Metrics recorded: 2
    Filesystem: Working
    Global Prefix: "xxx_"
    Blog Prefix: "xxx_"
    Global Groups: [
        "blog-details",
        "blog-id-cache",
        "blog-lookup",
        "global-posts",
        "networks",
        "rss",
        "sites",
        "site-details",
        "site-lookup",
        "site-options",
        "site-transient",
        "users",
        "useremail",
        "userlogins",
        "usermeta",
        "user_meta",
        "userslugs",
        "redis-cache",
        "blog_meta"
    ]
    Ignored Groups: [
        "counts",
        "plugins",
        "themes"
    ]
    Unflushable Groups: []
    Drop-ins: [
        "Redis Object Cache Drop-In v2.0.21 by Till Krüss"
    ]

    I have also tried to deactivate all other plugins except redis, without success.

    What could I do to find the reason of this problems?

    Thank you very much in advance!

    • This topic was modified 4 years, 5 months ago by Regenpfeifer.
    • This topic was modified 4 years, 5 months ago by Regenpfeifer.
    • This topic was modified 4 years, 5 months ago by Regenpfeifer.

    The page I need help with: [log in to see the link]

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

    (@tillkruess)

    Hi!

    I’d strongly suggest using different WP_REDIS_DATABASE indices for each site and flushing the entire server using FLUSHALL.

    If that doesn’t fix it, please post your PHP error logs, since…

    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

    is just a generic error page and doesn’t tell us much.

    Thread Starter Regenpfeifer

    (@regenpfeifer)

    Thank you very much, Till.

    It seems that using different WP_REDIS_DATABASES fixed the problem!

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

The topic ‘Error when activating obeject cache’ is closed to new replies.