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
run MoinMoin standalone
- 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
- surgeprotect
Details
Workaround
stop MoinMoin
- 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
- Priority:
Assigned to: ThomasWaldmann
Status: I guess this is fixed by http://hg.thinkmo.de/moin/1.5?cs=4b9425f89248, can you test it?