Besides the usual "it depends" most general advice on KeepAlive seems to say that it should be a small value (1 or 2) if kept on. Years ago when I was running a MediaWiki on a single server I had to turn KeepAlive completely off as I couldn't keep enough open Apache connections to satisfy the incoming connections (I would run out of memory from all the Apache sessions in keep-alive state).
I would guess that if you are short on memory then reducing KeepAlive to 1/2 or turning it off completely would be a safe bet as the memory from "alive" sessions would likely be better spent elsewhere. On the other hand, if you have a dedicated Apache server typically with plenty of free sessions/memory then leaving it on may have a small effect. On 12 October 2012 18:22, David Gerard <[email protected]> wrote: > (I have just accepted root on rationalwiki.org and am looking around > in slight horror. I will be sending a few messages like this.) > > Apache comes with KeepAlive on by default. I am unconvinced this is > actually a good idea. I just switched it off and it appears to have no > ill effects, and the server has 400MB more free memory. (Ubuntu 10.04 > Linode with 4GB RAM. Six wikis, Lucene search being really fat.) > > The only mention I can see on mediawiki.org is in > http://www.mediawiki.org/wiki/Manual:Newcomers_guide_to_installing_on_Windows/Apache_httpd.conf > , where it's one of the defaults they say nothing about. > > Apache connections are really pretty damn cheap these days. Is > KeepAlive actually a good or bad thing for MediaWiki? > > > - d. > > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l -- Dave Humphrey -- [email protected] Founder/Server Admin of the Unofficial Elder Scrolls Pages -- www.uesp.net _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
