[Mailman-Users] Errors running news gateway
scott cotton
scott at chronis.pobox.com
Fri Jan 8 06:19:49 CET 1999
The locking mechanism in mailman has timeouts associated
with it that are easily changed in the calling program.
Those timeouts default to a value that is good for most
operations, but not for potenitally long-running operations
such as running the mail queue or gating news.
So those errors do not indicate a failure to perform, but a
(slight) risk of ccorrupting data. I would suggest that the
files OutgoingQueue.py and GateNews.py be reviewed for their
calls to lockfile(filename) and changing the calls to say
lockfile(filename, 2400) (the 2400 is in secs I think) or
something that gives ample time for the previous program to
complete.
scott
On Thu, Jan 07, 1999 at 11:48:07PM -0500, Jonathan Bradshaw wrote:
| I have cron run the news gateway every half hour. Every so often during the
| day I see the following:
|
| Exception NotLockedError in <method FileLock.__del__ of FileLock instance at
| +8181510> ignored
|
| OR
|
| Exception exceptions.OSError: (2, 'No such file or directory',
| +'/var/mailman/locks/gate_lock.rmadg.Garbo.17482') in <method FileLock.__del__
| +of FileLock instance at 8181390> ignored
|
| OR
|
| Exception exceptions.ValueError: 'unpack list of wrong size' in <method
| +FileLock.__del__ of FileLock instance at 80dddc0> ignored
|
|
| Should I be concerned about them? It appears to be working correctly.
|
|
| ------------------------------------------------------
| Mailman-Users maillist - Mailman-Users at python.org
| http://www.python.org/mailman/listinfo/mailman-users
|
More information about the Mailman-Users
mailing list