Folks, just wondering - I'm getting random IOErrors when writing to socket when talking to redis. Suspecting something on the OS level. How could I approach debugging this? Would you have any hints maybe?
re: multithreaded - very much so. Not a webapp but a bit complex multithreaded / multiprocess job framework (mostly grown in house). 3.3.3 is the version of the redis-rb gem.
I'm basically trying to understand how I can approach debugging this as my knowledge isn't the greatest in that area.
matthewd: Makes sense. I was wondering whether something on the OS level could be causing those issues, but the rest of the env is relatively up to date. I'll try poking around a bit here, our current appraoch is to just catch those errors, fully disconnect and reconnect. It works, it just feels bad :/ Will at least try to strace to see how sockets are getting closed / open.