Support » Plugin: Redis Object Cache » Error while reading or writing, may be timing out, is there some way to adjust

  • Resolved esobczak

    (@esobczak)



    Error message
    Predis\Connection\ConnectionException: Uncaught exception ‘Predis\Connection\ConnectionException’ with message ‘Error while reading line from the server. [tcp://bal:6379]’ in /mnt/data/vhosts/new.lakeshore-rv.com/wp-content/plugins/redis-cache/includes/predis.php:4278

    Error message
    Predis\Connection\ConnectionException: Uncaught exception ‘Predis\Connection\ConnectionException’ with message ‘Error while writing bytes to the server. [tcp://bal:6379]’ in /mnt/data/vhosts/new.lakeshore-rv.com/wp-content/plugins/redis-cache/includes/predis.php:4278

    Some research makes me think that there could be a chance this is due to the read_write_timeout being too short. is there some way to set this or could you add some way to set this.

    My understanding is predis supports both a timeout and read_write_timeout

    Thanks,

    Eric

    https://wordpress.org/plugins/redis-cache/

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

    (@tillkruess)

    How often do you see those errors?

    esobczak

    (@esobczak)

    Sorry for failing to respond to this timely. We see these regularly. Though I believe it is less likely due to your code and more likely we are storing and overly large object, not setting a long enough timeout.

    So as long as we can override the timeout or restructure into smaller objects we may be able to solve this. My programmer just did this today so we will see.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error while reading or writing, may be timing out, is there some way to adjust’ is closed to new replies.