aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki-w3m.cgi
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-11-11 15:40:04 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-11-11 15:40:04 -0500
commit9a48669f1e9d83422781f6f175c3be8bce80cd26 (patch)
treeb10fd39c79b1e82b154840d200c2f88e4ccb4412 /ikiwiki-w3m.cgi
parent6611f3a2d9eda262a07bb506b204e8bbf0728c38 (diff)
downloadikiwiki-9a48669f1e9d83422781f6f175c3be8bce80cd26.tar
ikiwiki-9a48669f1e9d83422781f6f175c3be8bce80cd26.tar.gz
avoid multiple ikiwiki cgi processes piling up, eating all memory, and thrashing
Fixed by making the cgi wrapper wait on a cgilock. If you had to set apache's MaxClients low to avoid ikiwiki thrashing your server, you can now turn it up to a high value. The downside to this is that a cgi call that doesn't need to call lockwiki will be serialised by this so only one can run at a time. (For example, do=search.) There are few such calls, and all of them call loadindex, so each still eats gobs of memory, so serialising them still seems ok.
Diffstat (limited to 'ikiwiki-w3m.cgi')
0 files changed, 0 insertions, 0 deletions