Hey Kai,

First step:
I seem to recall that this was a bug in an old version of Moin, that a folder structure would begin to be created before the user authenticated. All of us got hit with that bug, but it was quickly fixed as I recall. So, your first step should be to upgrade your Moin!

Second step is clean-up:
I can't remember (I think there might've been) a clean-up script within Moin that helped clean up those folders (maint cleanpage?  Better wait until someone else weighs in on that).  Outside of Moin, there are simple scripts you can do (just make sure to back up your data dir *first*, then restart moin after running the script).  On linux:

find /path/to/dir -empty -delete

On Windows, there is a utility you can download:


On Fri, Jun 15, 2012 at 7:04 AM, Kai Jaeger <kai@aplteam.com> wrote:
Recently I noticed that clicking on a Category page took much longer
than it should: roughly 30-40 seconds.

I checked the directory structure and found 18,000 empty folders!

Because of the spammers one cannot create a page in the wiki in
question without answering a stupid question. That works well but when
somebody requests a page that does not exist yet than a new folder is
created despite the user getting the message "You are not allowed to
edit this page". And because they are doing this via a program I end
up very soon with thousands of empty folders.

Is there anything that can be done to improve this?


Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Moin-user mailing list