Keep alive on server


(Bhawani) #1

I was trying to set keep alive on CentOS server. I have set it in httpd.conf but no luck.
What should i do now?


#2

This should be a CentOS issue. Do you use a proxy to get the container accessible to the Internet, or is it just iptables rules?


(Bhawani) #3

through iptables only. I have made the chages but still session is not kept live on server.


#4

Here is the difference between TCP keepalive and HTTP keep-alive, https://stackoverflow.com/questions/9334401/http-keep-alive-and-tcp-keep-alive

The HTTP keep-alive works on the application layer, therefore, IPTables should not be able to mess with it, because it works on a lower level.

Show us your IPTables rules and tell us how you check whether HTTP keep-alive is really working.