I've created the following 2 openshift gear :
- varnish cartridge https://github.com/devop-mmcgrath/openshift-cartridge-varnish
- php 5.4 / mysql (symfony 2 app)
I've configured a quite complex caching mechanism based on FOSHttpCacheBundle that uses cache tags, ban, user context, ...
The website was running fine since yesterday, but this afternoon varnish was displaying a 503 guru meditation for all uncached requests.
The message in the log was : "no backend connection".
I logged on the varnish gear and indeed the backend gear (php 5.4) was not responding to curl's requests whereas it does from the internet (my local machine for example).
I restarted the 2 gears and the problem was solved ... but I suspect that the problem is not completly solved.
Is there any number of requests limitation from the same IP on openshift online to prevent DDOS attacks ? Because ALL requests to the backend gear are made from the same IP : varnish's gear IP, and my problem looks like a IP Ban ...
Note that my website does not have a high traffic as it as just been launched.