• Resolved stylise

    (@stylise)


    Hello,

    Is there any way to disable error logging for this plugin? My wordpress php error_log is filled with ‘read error on connection’ notices even when things appear to be functioning normally.

    Thanks in advance.

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

    (@tillkruess)

    No. Does setting WP_REDIS_DISABLE_GROUP_FLUSH resolve the timeout issue?

    FAQ: https://github.com/rhubarbgroup/redis-cache/blob/develop/FAQ.md#connection-timed-out-and-read-error-on-connection

    Thread Starter stylise

    (@stylise)

    Hi @tillkruess

    Setting WP_REDIS_DISABLE_GROUP_FLUSH to true did not resolve the issue.

    Plugin Author Till Krüss

    (@tillkruess)

    Did you read the FAQ?

    Thread Starter stylise

    (@stylise)

    Yes, I have been troubleshooting this for several hours. The FAQ hasn’t provided much in the way of addressing this issue. It does appear to be running properly and effectively, which is why I wanted to disable the error notices.

    I’ve tried some server side improvements, as well as searching through past support threads. My wp-config currently has the following settings:

    /** REDIS */
    define(‘WP_REDIS_CLIENT’, ‘phpredis’);
    define(‘WP_REDIS_TIMEOUT’, 5);
    define(‘WP_REDIS_READ_TIMEOUT’, 5);
    define(‘WP_REDIS_DISABLE_METRICS’, true);
    define(‘WP_REDIS_DISABLE_GROUP_FLUSH’, true );

    /* That’s all, stop editing! Happy blogging. */

    Plugin Author Till Krüss

    (@tillkruess)

    if increasing timeouts does not resolve it either, take a look at your Redis SLOWLOG and error logs to see which commands are causing the timeouts you’re seeing.

    Thread Starter stylise

    (@stylise)

    For anybody experiencing a similar issue, it looks like using define( 'WC_SESSION_HANDLER', 'database' ); fixed our excessive Redis read errors.

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

You must be logged in to reply to this topic.