ruby on rails - How to debug/fix random occurring Redis::TimeoutError? -
i have rails app running using redis quite lot - - i'm seeing quite few redis::timeouterror occurring here , there, time time. there no pattern in circumstances. occurs both in web app , in background jobs (which being processed using sidekiq ) - not time time. now have no idea how track down root cause of , hence no idea how fix it. here little background on setup: the redis instance running on separate physical server connected both web server , background server in private local 1gbit network. servers running ubuntu 12.04. redis version 2.6.10. i'm connecting rails app (which 3.2) using initializer so: require 'redis' require 'redis/objects' redis = redis.new(:url => app_config['redis_url']) redis.current = redis this output of redis-cli info : # server redis_version:2.6.10 redis_git_sha1:00000000 redis_git_dirty:0 redis_mode:standalone os:linux 3.2.0-38-generic x86_64 arch_bits:64 multiplexing_api:epoll gcc_version:4.6.3 process_i...