Description

From https://bugs.launchpad.net/ubuntu/+source/moin/+bug/217191

moin creates all it's pages as a directory in the the data/pages directory. It also flattens any hierarchy in the process, e.g. Testing/Cases/UMEdesktop-config-date becomes:

drwxrwx--- 4 www-data www-data 4096 2008-04-10 00:05 Testing(2f)Cases(2f)UMEdesktop(2d)config(2d)date

This is compounded by pre 1.6 which also creates ${User}(2d)MoinEditorBackup 'pages' (i.e. another directory) for anyone who edits a page.

The above in combination with ext2/3's '32K-directories in one directory' limit caused http://wiki.ubuntu.com/ to break recently.

Even if you discount this as an 'ext2/3 FS limit', it's not exactly a great plan in terms of scalability.

Steps to reproduce

  1. Create 31,998 pages
  2. Try to create a new page

Example

Component selection

Details

MoinMoin Version

all moin versions at least up to 1.7.x

OS and Version

Linux with ext3 filesystem

Python Version

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Discussion

About the problem:

About the solution:

Workaround

Of course knowing the above is not very helpful in case you run into this problem, so lets add some hints about how to delay the problem:

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/AllPagesSavedToSingleDirectory (last edited 2008-04-16 05:55:51 by MarcelHäfner)