Quote:
Originally Posted by 247mg
Just getting Random time out.. Host has finally found some hardware issue in RAID let see... but they keep asking to try KeepAlive Off and see... what is difference between alive on and off....
|
alive on, keeps connection on for few more seconds so that client can fetch more files/data using same connection and doesnt have to start new connection as there is limit in apache to max number of concurrent connections.
alive off, closes the connection as sooon as data is transmitted. so every new file load needs to start new connection, this reaches the apache max number of concurrent connections pretty fast.
you have to find sweet spot and define keepalive time in seconds if thats possible.
if you have too many files linked from single page, then keep alive on
else keep alive off.
my suggestion, hire someone talented and move everything to nginx.
or use cdn to serve files., so only data fetched from DB is used by apache connections.