[Mailman-Developers] Problem with MM after power outage

Simone Piunno pioppo at ferrara.linux.it
Tue Aug 19 22:17:38 EDT 2003


On Tuesday 19 August 2003 04:08, Barry Warsaw wrote:

> > > After power was restored and the machine came up, Mailman (2.1.2) is
> > > now spitting out errors:
> > >   File "/usr/local/mailman/Mailman/Queue/Switchboard.py", line 246, in
> > > _ext_read dict = marshal.load(fp)
> > > ValueError: bad marshal data
>
> Hmm, weird.  The switchboard is written such that this shouldn't happen
> (i.e. you shouldn't get a corrupt message.db file).  It's supposed to
> write the message first to .db.tmp and then rename it to .db in an
> atomic operation.

ok, but how do you make sure the file is really on disk instead of, e.g., half 
on disk and half on cache?

Simone

-- 
Adde parvum parvo magnus acervus erit -- Ovidio





More information about the Mailman-Developers mailing list