Bugs: Browse | Submit New | Admin
After using instiki for a while, more and more memory is used up, and from the way my disk started swapping, it seems like each request starts to use up *increasingly* more memory (though I think that was an illusion caused by increasing slowness). When I worked out what was happening, the ruby process was using 958 Mb. Which seems rather excessive for a simple wiki. I'm not the only one: http://rubyforge.org/pipermail/instiki-users/2008-January/001087.html http://rubyforge.org/pipermail/instiki-users/2008-January/001088.html I'm using 0.12. Some simple tests show that instiki uses more memory for every new page that is seen, usually about 1-5 Mb more, which is just crazy. It even consumes a small amount of memory for showing pages that have been seen before. For instiki to be usable, it's resource usage ought to max out very quickly and then consume *zero* more memory per request.
Add A Comment:
Date: 2008-02-19 15:46 Sender: Luke Plant Actually, my last comment is incorrect. After a lot more usage, memory has gone up to 400+ Mb, and it is back to its old trick of using 1-5 more Mb for every request, so even with '-e production' you have a denial of service scenario.
Date: 2008-02-19 14:34 Sender: Luke Plant OK, if I run like this: ./instiki.rb -e production ...then I get something more sensible (stabilises at about 50 Mb, which is still rather large, but doesn't seem to keep growing). I can't believe this option is not the default. Finding this option wasn't at all obvious -- doing './instiki --help' doesn't actually work as advertised, you have to do './instiki.rb --help'. The instructions never mention this anywhere, so 'out of the box' you've got a denial of service situation.