Forum Moderators: phranque
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
While doing some load testing we noticed the program was running 100 concurrent users yet there were 820 sessions. This was, obviously, not making Apache very happy.
We are using 'netstat -an¦grep -c 443' to count sessions.
We looked into this further and noticed that on one machine it was 2 sessions for a single connection and on the other it was roughly 23. We noticed one machine was using moz and one was IE. After many tests the issue was with IE only and that led us to the conf.
2 questions
1. What is that default setting for?
2. Are there any major issues with removing it?
I am reading madly but wondered if anyone knew what this was all about.
<added>It seems to be mainly for IE 4 not supporting HTTP 1.1
[httpd.apache.org...]
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
Removing nokeepalive also fixes the problem.
I found other problems with MSIE including occasional DNS errors with SSL. The following in httpd.conf (Apache 1.3.29) will fix several MSIE related problems, especially with the buggy Export versions.
SSLSessionCache dbm:logs/ssl_cache
SSLSessionCacheTimeout 300
SSLMutex file:logs/ssl_mutex
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
SetEnvIf User-Agent ".*MSIE.*" \
ssl-unclean-shutdown downgrade-1.0 force-response-1.0
We only have 0.11% IE4 users so I am not too worried.
You can also improve the overall performance of Apache by reducing KeepAliveTimout from 15 to 5.