• Resolved svs7

    (@svs7)


    Hello,
    The following message is periodically present in wp-admin / error_log:

    [09-Oct-2025 11:31:24 UTC] RedisException: Connection timed out in /home/tttronic/public_html/site.com/wp-content/object-cache.php:736

    Stack trace:

    #0 /home/tttronic/public_html/site.com/wp-content/object-cache.php(736): Redis->connect('127.0.0.1', 6379, 1, '', 0, 1)

    #1 /home/tttronic/public_html/site.com/wp-content/object-cache.php(536): WP_Object_Cache->connect_using_phpredis(Array)

    #2 /home/tttronic/public_html/site.com/wp-content/object-cache.php(256): WP_Object_Cache->__construct(false)

    #3 /home/tttronic/public_html/site.com/wp-includes/load.php(870): wp_cache_init()

    #4 /home/tttronic/public_html/site.com/wp-settings.php(145): wp_start_object_cache()

    #5 /home/tttronic/public_html/site.com/wp-admin/setup-config.php(33): require('/home/tttronic/…')

    #6 {main}

    The Redis parameters in the Hosting:
    Host: 127.0.0.1 and Port: 13851
    are correctly set for us!

    <font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">Същият проблем е и в другите ни идентични сайтове.</font></font>
    • This topic was modified 1 month, 1 week ago by svs7.
    • This topic was modified 1 month, 1 week ago by svs7.
    • This topic was modified 1 month, 1 week ago by svs7.
    • This topic was modified 1 month, 1 week ago by svs7.
    • This topic was modified 1 month, 1 week ago by svs7.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    increase the read timeout. Check the readme for details.

    Thread Starter svs7

    (@svs7)

    Ok!
    How much do you recommend the “timeout” to be (currently “1”)?
    (I attach a picture: https://prnt.sc/E0rjr1QfIZWf)

    Am I to understand that from this (‘127.0.0.1’, 6379, 1, ”, 0, 1) I should only change the “timeout”?

    And should the port 6379 remain?

    In wp-config for Redis there is the following entry
    define(‘WP_REDIS_PORT’, 13851);
    define(‘WP_CACHE_KEY_SALT’, ‘4Dsd8lfHjysHdhf47ks8jFd5Jf’);
    define(‘WP_CACHE’, true);
    define(‘WP_REDIS_PERSISTENT’, true);

    Plugin Author Till Krüss

    (@tillkruess)

    WP_CACHE_KEY_SALT is a deprecated constant, don’t use it.

    WP_REDIS_PERSISTENT does not exist.

    WP_CACHE is not related to Redis Object Cache.

    Thread Starter svs7

    (@svs7)

    Okay, thank you!
    We will edit the parameters.

    But please tell me:

    1. How much do you recommend the “timeout” to be (currently “1”)?
    2. And should port 6379 remain?
    Plugin Author Till Krüss

    (@tillkruess)

    Try 2.5 or 5.

    Port should match what your Redis Server is configured to be.

    Thread Starter svs7

    (@svs7)

    Thanks!

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

You must be logged in to reply to this topic.