Error in lockfile cleanup

Today the filetable on my machine filled up, which gave mailman some issues. It didn't properly cleanup some lock files and this caused all other operations to fail.
Here are the relavent portions of the error log file: Dec 28 14:04:39 1999 post: Traceback (innermost last): post: File "/usr2/local/mailman/scripts/post", line 45, in ? post: File "/usr2/local/mailman/Mailman/MailList.py", line 62, in __init__ post: File "/usr2/local/mailman/Mailman/MailList.py", line 804, in Load post: File "/usr2/local/mailman/Mailman/MailList.py", line 1373, in Lock post: File "/usr2/local/mailman/Mailman/LockFile.py", line 200, in lock post: File "/usr2/local/mailman/Mailman/LockFile.py", line 156, in __read post: IOError : (23, 'Too many open files in system') Dec 28 14:24:06 1999 post: Traceback (innermost last): post: File "/usr2/local/mailman/scripts/post", line 45, in ? post: mlist = MailList.MailList(sys.argv[1]) post: File "/usr2/local/mailman/Mailman/MailList.py", line 62, in __init__ post: self.Load() post: File "/usr2/local/mailman/Mailman/MailList.py", line 804, in Load post: self.Lock() post: File "/usr2/local/mailman/Mailman/MailList.py", line 1373, in Lock post: self.__lock.lock() post: File "/usr2/local/mailman/Mailman/LockFile.py", line 245, in lock post: os.unlink(self.__tmpfname) post: os . error : (2, 'No such file or directory')
Known issue? Has the code around line 245 not been fully tested?
My workaround was to remove all lockfiles manually. The list is running happily now.
System details: FreeBSD 2.2.2 (maxusers set to 10 when this occured, I just up'd it to 20... yes I know that 2.2.2 is crusty) Python 1.5 built with GCC 2.7.2.1 Mailman 1.1
thanks, alex

"aw" == alex wetmore <alex@phred.org> writes:
aw> Today the filetable on my machine filled up, which gave
aw> mailman some issues. It didn't properly cleanup some lock
aw> files and this caused all other operations to fail.
aw> Known issue? Has the code around line 245 not been fully
aw> tested?
This stuff has changed somewhat in the current CVS snapshot. So far I haven't seen the exception in my production system on python.org since installing 1.2exp.
-Barry

From: "Barry A. Warsaw" <bwarsaw@cnri.reston.va.us>
This stuff has changed somewhat in the current CVS snapshot. So far I haven't seen the exception in my production system on python.org since installing 1.2exp.
When is 1.2 coming out? This is a production machine, so I am not interested in running beta software.
thanks, alex
participants (2)
-
alex wetmore
-
Barry A. Warsaw