It is strange that the apache process size is as large as 174MB. Even though our Moodle has 120GB available memory, the max concurrent users is just about 560. We target to raise the MaxRequestWorker to 800, so we strive to seek ways to reduce the apache process size. One way is to reduce KeepAliveTimeout value.
Some articles stated that the KeepAliveTimeout should be set 3-5 seconds rather than the default value 15 seconds. The reason is that it only takes 1~2 seconds to load a webpage for a user to view. It is impossible for a user to wait for 15 seconds before he first see the webpage. It sounds reasonable.
However, some of our students are located in Mainland China. They have to make VPN connection to access Moodle. The data transmission time would be much increased when it transfers about 5MB jpg files. Worse still, they sometimes may need to download some powerpoint files from Moodle. It may even takes tens of seconds or even a few minutes. Does it mean that this value would break the file transfer connection when the timeout is reached ?
Please advise. What is the optimal value of KeepAliveTimeout? Any side-effect? Thank you very much.