brandonwamboldt / libvmod-redis

A varnish vmod for sending commands to a Redis server and getting back the response in your VCL files.
https://www.varnish-cache.org/vmod/redis-poc
Other
19 stars 10 forks source link

Periodically "said redis error ... connection timed out" in varnish output #3

Open smant opened 10 years ago

smant commented 10 years ago

Varnish and redis installed on separate servers.

Several times vmod-redis stopped to send any messages to redis. After restart varnish all became ok.

In varnish output I found this:

Child (12538) said redis error (command): err=1 errstr=Connection timed out
Child (12538) said redis error (command): err=1 errstr=Connection timed out
Child (12538) said redis error (command): err=1 errstr=Connection timed out
Child (12538) said redis error (command): err=1 errstr=Connection timed out
Child (12538) said redis error (command): err=1 errstr=Connection timed out

Connection to redis from varnish server is ok. Connection timeout 500ms

Maybe the vmod-redis does not reconnect it to redis after network connectivity problems?

smant commented 10 years ago

@russ see this in varnish stdout