[Mailman-Users] qrunner and db errors.

Deanna Phillips deanna at indymedia.org
Fri Dec 21 04:07:43 CET 2001


Hi,

We recently moved our old Mailman list server (sendmail and
Mailman 2.0) to a new machine (Postfix and Mailman 2.0.6).  Since
then I've noticed that qfiles seem to be getting corrupted:

from ~mailman/logs/qrunner, lots of messages like this: 

[Errno 2] No such file or directory:
'/usr/local/mailman/qfiles/d9e9154a49f2cdce2ffc5d74855a3e1eac85c331.db'
Dec 20 21:47:01 2001 (20660) Exception reading qfile:
/usr/local/mailman/qfiles/d9e9154a49f2cdce2ffc5d74855a3e1eac85c331

At first there were just a few messages in the qfiles directory
causing these errors, and I deleted them, only to find it happen
again to new messages that appear to be error-free, regular old
mail messages when I look at the qfiles/*.msg versions.

Also, in the error log, lots and lots of these:

Dec 20 21:57:04 2001 (20959) Delivery exception: EOF read where
object expected
Dec 20 21:57:04 2001 (20959) Traceback (innermost last):
  File "/usr/local/mailman/Mailman/Handlers/HandlerAPI.py", line
82, in do_pipeline
    func(mlist, msg, msgdata)
  File "/usr/local/mailman/Mailman/Handlers/Hold.py", line 140,
in process
    hold_for_approval(mlist, msg, msgdata, ModeratedPost)
  File "/usr/local/mailman/Mailman/Handlers/Hold.py", line 218,
in hold_for_approval
    mlist.HoldMessage(msg, reason, msgdata)
  File "/usr/local/mailman/Mailman/ListAdmin.py", line 145, in
HoldMessage
    self.__opendb()
  File "/usr/local/mailman/Mailman/ListAdmin.py", line 69, in
__opendb
    self.__db = marshal.load(fp)
EOFError: EOF read where object expected

And the nightly crons are failing:

Traceback (innermost last):
  File "/usr/local/mailman/cron/checkdbs", line 92, in ?
    main()
  File "/usr/local/mailman/cron/checkdbs", line 43, in main
    count = mlist.NumRequestsPending()
  File "/usr/local/mailman/Mailman/ListAdmin.py", line 96, in
NumRequestsPending
    self.__opendb()
  File "/usr/local/mailman/Mailman/ListAdmin.py", line 69, in
__opendb
    self.__db = marshal.load(fp)
EOFError: EOF read where object expected

And yet, with all these errors, things seem to be working all
right.  Most messages are getting delivered, except for the odd
ones that cause the errors in the qrunner log.

By reading the archives of this list I get the impression that
this is caused by a corrupted db file somewhere, but when I run
~mailman/bin/check_db I am told that they are all fine.

Anyone know what's going on? 

Thanks very much,
Deanna





More information about the Mailman-Users mailing list