用于mod_jk的socket_keepaliveconfiguration

我有mod_jk的Apache httpd。 我有长时间闲置期间死亡的连接问题:Apache停止响应,每个HTTP请求挂起15分钟。 我试图closuresmod_jk连接池(与DisableReuse),问题消失。

在Tomcat文档中写道:

Using this option will have a strong performance penalty for Apache and Tomcat. Use this only as a last resort in case of unfixable network problems. If a firewall between Apache and Tomcat silently kills idle connections, try to use the worker attribute socket_keepalive in combination with an appropriate TCP keepalive value in your OS. 

我试图使用socket_keepalive = true,它变得更好,但有时HTTP请求仍然挂起15米。

所以看起来没有socket_keepalive,90%的连接已经死亡,socket_keepalive为10%,DisableReuse为0%。

操作系统是RedHat Enterprise 6.5。 什么是适当的TCP保活价值? 以及如何configuration我的操作系统,使socket_keepalive工作正常?