• Hi Till,

    We’re experiencing intermittent Redis connection errors on a large WooCommerce store using Redis Object Cache 3.0.0.

    The plugin status page reports a healthy connection (Connected, PONG, Errors: []), but the PHP error log repeatedly shows:

    Predis\Connection\ConnectionException:
    Error while reading line from the server.
    [unix:/run/redis-webgjnitw/sock]

    On October 28, 2026, we observed multiple occurrences between 15:07 and 15:18 UTC.

    The failures occurred during different WordPress operations, including WooCommerce product and variation loading, transient reads, cache writes, and normal page rendering.

    Environment:

    • Redis Object Cache: 3.0.0
    • Drop-in: 3.0.0 (valid)
    • Predis: 2.4.1
    • Redis Server: 7.2.15
    • PHP: 8.5.12
    • Connection: Unix socket
    • Connection timeout: 1 second
    • Read timeout: 1 second
    • PhpRedis: Not installed
    • Relay: Not installed
    • Multisite: No

    Some requests also experience unusually long response times, although we have not established that Redis causes these delays.

    We are investigating other database and server-load issues in parallel, so we do not want to assume this is a plugin regression.

    Questions:

    1. Are there any known issues involving Predis 2.4.1, Redis Object Cache 3.0.0, PHP 8.5, and Unix sockets?
    2. Could a one-second read timeout contribute to these errors under load?
    3. Which Redis server-side metrics or logs would you recommend checking?
    4. Would temporarily switching to PhpRedis or testing an earlier plugin version provide useful diagnostic information?

    We can provide additional stack traces if needed.

    Thanks for your work on the plugin and for any guidance!

    Additionally, at 16:01 UTC on October 28, a manual cache flush triggered the same error while executing FLUSHDB.

    Several subsequent WordPress requests failed during Redis connection initialization.

    Importantly, similar Redis read errors had already occurred during normal page requests before this manual flush.

    This suggests the problem is not limited to cache flushing.

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

    (@tillkruess)

    I’d try to increase the timeouts to 2.5 or 5s as a start, that might be the issue.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.