Description

If an user do a single stupid fulltext search, the memory consumption goes too high. Depend on the environment of the moinmoin this can lead to several unwanted problems.

Steps to reproduce

I told ThomasWaldmann what the problem is1, in general:

  1. Do a search
  2. Memory goes up and up (a single process, from ~60MB to 700MB)
  3. After a few seconds or minutes you either got your search back or process get killed (to much memory usage) and error message is shown

Example

After a few seconds the memory goes form ~ 60MB up to 800MB, with a single search query! screenshot.png

Component selection

Details

MoinMoin Version

1.9.3

OS and Version

Ubuntu

Python Version

2.5

Server Setup

Apache / mod_wsgi (5 processes, 15 threads)

Server Details

4 GB Memory / P4 2.6GHZ

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

de

I could also reproduce the same problems under an different server (16GB Memory, Xeon 8x2.33GHz):

Workaround

Discussion

A workaround like this is not enough, we need a better filter or generaly a better result list management (less memory usage in generaly).

Plan


CategoryMoinMoinBug

  1. I guess you need to have a wiki with a few hundred pages at least, to reproduce this (1)

MoinMoin: MoinMoinBugs/DisadvantageousSearchLeadsToHighMemoryUsage (last edited 2011-10-11 17:58:12 by MarcelHäfner)