Description

I'm using MoinMoin Release 1.5.7 running on a Linux server in LAN. I'm the only one accessing this Wiki. After few days I'm getting [Errno 24] Too many open files during any access to Wiki.

Steps to reproduce

  1. run MoinMoin standalone

  2. work (create/edit) pages for few days

Example

IOError 

[Errno 24] Too many open files: 'data/user/1172435003.16.3551'

    * args = (24, 'Too many open files')
    * errno = 24
    * filename = 'data/user/1172435003.16.3551'
    * strerror = 'Too many open files'

System Details

    * Date: Mon, 19 Mar 2007 21:17:53 +0000
    * Platform: Linux samwise 2.6.15-26-server #1 SMP Thu Aug 3 04:09:15 UTC 2006 i686
    * Python: Python 2.4.3 (/usr/bin/python)
    * MoinMoin: Release 1.5.7 (release)

lsof | grep moin
:
python     4152 www-data  887u      REG      253,0        0       8574 /var/www/JN_Wiki-moin-1.5.7/data/cache/surgeprotect/surge-logE5yALo.tmp
python     4152 www-data  888u      REG      253,0        0       8575 /var/www/JN_Wiki-moin-1.5.7/data/cache/surgeprotect/surge-log-eIXOp.tmp
python     4152 www-data  889u      REG      253,0        0       8570 /var/www/JN_Wiki-moin-1.5.7/data/cache/surgeprotect/surge-logXP6-4J.tmp
python     4152 www-data  890u      REG      253,0        0       8577 /var/www/JN_Wiki-moin-1.5.7/data/cache/surgeprotect/surge-logwuXj-5.tmp
python     4152 www-data  891u      REG      253,0        0       7300 /var/www/JN_Wiki-moin-1.5.7/data/cache/surgeprotect/surge-logXj4NzE.tmp
python     4152 www-data  892u      REG      253,0        0       8576 /var/www/JN_Wiki-moin-1.5.7/data/cache/surgeprotect/surge-log3EqVSd.tmp
python     4152 www-data  893u      REG      253,0        0       8578 /var/www/JN_Wiki-moin-1.5.7/data/cache/surgeprotect/surge-logB4NbvL.tmp
:


lsof | grep moin | wc
   1021    9189  145915

# ulimit
unlimited

# MoinMoin is started with
cd /var/www/JN_Wiki-moin-1.5.7/
python ./moin.py

Component selection

Details

traceback.html

Workaround

  1. stop MoinMoin

  2. start it again

Waiting as described in MoinMoinBugs/TooManyFilesAreOpen do not help.

Discussion

Thank you for the fast response and URL provided. I implemented the decode/encode parameters and so far, the number of open files is not growing.

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/TooManyOpenFiles (last edited 2007-10-29 19:11:01 by localhost)