[Mailman-Users] Race condition in mailman's locking?

Marc Merlin marc_news at valinux.com
Tue Mar 28 21:19:47 CEST 2000

After  I enabled  bidirectional  news  gatewaying for  9  lists,  I get  the
following errors from time to time
It looks like two  locks are granted at the same time  and the second unlock
fails because the lockfile was already removed by the first process.

Does that make any sense?

----- Forwarded message from Cron Daemon <root at marc.merlins.org> -----

Date: Tue, 28 Mar 2000 09:55:02 -0800
From: root at marc.merlins.org (Cron Daemon)
To: mailman at marc.merlins.org
Subject: Cron <mailman at marc> /usr/bin/python /var/local/mailman/cron/gate_news
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/var/local/mailman>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=mailman>

Traceback (innermost last):
  File "/var/local/mailman/cron/gate_news", line 119, in ?
  File "/var/local/mailman/cron/gate_news", line 101, in main
  File "/var/local/mailman/Mailman/LockFile.py", line 263, in unlock
    raise NotLockedError

----- End forwarded message -----

Microsoft is to software what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ (friendly to non IE browsers)
Finger marc_f at merlins.org for PGP key and other contact information

More information about the Mailman-Users mailing list