I am facing an issue in which sidekiq crashes every few hours in docker. Investigating the logs reveals a "TimeoutError" when sidekiq tries to connect to redis and restarting the containers does not work. The only way I can get the get it to work again is by restarting the docker daemon.
After lots of investigation, I believe the root cause has to do with logging problems in docker not keeping up with redis logs. The diagnosis I saw for this comes from this post. Their solution was to downgrade docker, but it seems docker is still not fixed up to version 19.03.3, so the solution of reverting to an old docker version is not feasible.
Any possible workaround other than downgrading is possible? Did anyone face this issue before? Any suggestions for a solution?