Context:
We have been using Redis successfully in a Laravel application for over 3 years without any problems. Recently, we upgraded our server infrastructure, installing a new version of Debian on a different vps (AWS).
Problem:
Since upgrading our application fails each night around 23h - 01h where the client (Laravel) starts throwing errors and saying
Connection Refused
Uncaught RedisException: Connection refused in ...
So, it seems that there is something that builds up along the day and fails after ~24h.
Some clues:
- The Redis versions before upgrading and after are only slightly different: from 3.2.5 to 3.2.6.
- We tend to have a lot of Google Bot traffic during the night. Crawlers put a lot of load on our Redis instance.
- The Laravel application and Redis run on the same instance.
- Our Redis conf