We have a setup that looks like this: nginx->haproxy->app servers We are terminating SSL with nginx and it sits in front of everything. During our peak load times, we are experiencing about a 2x ...
There are way too many TIME_WAIT on 127.0.0.1 This is causing PHP FCGI to work way too slow and hence my error log is full of "recv() failed (110: Connection timed out) while reading response header ...
What would be the system tunables to enhance serving static content? Like increase/decrease swappines, how to max out disk caching and so on...