Wednesday, 4 May 2016

What are KeepAlive configurations ?


Settings can be done in conf / httpd.conf

KeepAlive
  • makes it ON or OFF
  • Possible settings : “KeepAlive off” or “KeepAlive on

MaxKeepAliveRequests
  • Max number of requests a single persistent connection will serve.
  • 0 = Unlimited requests
  • Recommended : 100 to 150

KeepAliveTimeout
  • Number of seconds Apache will wait for another request before closing the connection
  • Recommended : 1 to 5 (Avoids wasting RAM while waiting for requests)
  • Default : 15 (at higher side)
  • High value = Performance issue in servers having heavy load

No comments:

Post a Comment

Note: only a member of this blog may post a comment.