I have an nginx server that is behaving oddly under slight DDoS attack. The memory usage grows exponentially in just a few secs until max system ram is exhausted and OOM killer kicks in. But when the DDoS stops the memory footprint remains at that max level - I have to manually stop/start nginx to recover. I've been able to replicate this using h2load (i.e. alot of traffic with multiplexing) anby essenz - How to...
When I did a search for this I only found one thread, but it was in Russian and hard to translate. I currently playing with an image cache for application frontend to a "massive" amount of proxied images. With proxy_cache_min_uses=1 my cache grows extremely fast and I cap it at 100G (for disk performance) and I get an average cache hit rate of 6%. With proxy_cache_min_uses=2 it growsby essenz - Nginx Mailing List - English