• Resolved tbech

    (@tbech)


    Hello Till

    we encountered following issues trying the redis plugin, that also caused a critial wordpress error.

    we had once a “redis connection not possible” (timeout) error, and

    redis OOP out of memory, that caused critial wordpress error

      The cache runs full and then returns critical wp error…. Is there any fallback for this?

      At least we’d expect the page to not crash, but instead to continue running without proper caching

    Viewing 3 replies - 1 through 3 (of 3 total)
    • katedodd

      (@katedodd)

      We ran into the same issue, does this look familiar?

      [19-Jul-2024 18:55:51 UTC] objectcache.error: Failed to execute 
      DUMP
      command
      [19-Jul-2024 18:55:51 UTC] objectcache.notice: Failed to dump analytics (RedisException: read error on connection to tcp://((ip address and port)) in (path redacted)/wp-content/plugins/object-cache-pro/src/Clients/Client.php:97
      Stack trace:
      #0 (path redacted)/wp-content/plugins/object-cache-pro/src/Clients/Client.php(97): Redis->dump('analytics:measu...')
      #1 (path redacted)/wp-content/plugins/object-cache-pro/src/Clients/PhpRedis.php(112): RedisCachePro\Clients\Client->RedisCachePro\Clients\{closure}()
      #2 (path redacted)/wp-content/plugins/object-cache-pro/src/Clients/Client.php(98): RedisCachePro\Clients\PhpRedis->newRelicCallback(Object(Closure), 'dump')

      We’re on 1.20.2. Our hosting provider is insistent that our Redis server is running correctly, and I have no problem pinging the server. I’ve checked our latency, everything seems fine on that front, but there’s some disconnect that I can’t work out. I’ve confirmed it isn’t a problem with permissions for analytics. This hadn’t been an issue until the past month or two.

      Our site is still running … okay enough, but we also double up with Cloudflare, so that might be what’s saving us.

      Plugin Author Till Krüss

      (@tillkruess)

      @tbech Are you using Redis Object Cache? If so, make sure you set maxmemory-policy in your redis.conf file to avoid going OOM.

      As for the timeout, that’s probably happening after Redis Server went OOM and stopped responding.

      Plugin Author Till Krüss

      (@tillkruess)

      @katedodd: You can disable the analytics.persist option in the WP_REDIS_CONFIG to not run the DUMP command. Hope that helps.

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