procmail
[Top] [All Lists]

Re: formail segfault on sorting duplicates

2002-01-31 12:36:18
matthias tarasiewicz <t(_at_)inode(_dot_)at> writes:
i thought using the following command on all my mailbox files would do the 
job (with all files being in the same directory)

formail -D 3276800 ./msgid.cache -s < ./inbox >>filtered_inbox

but it brings me a "segmentation fault" always stopping at the msgid.cache 
filesize being 337809 bytes. swapdisk is 800M, ram is 512M, should all be 
enough -- allthough the mailbox size is around 2GB

On many platforms, files larger than 2^31 bytes (2GB) can only be accessed
by programs written and compiled to enable 'large file' access.  Since you
don't say what platform this is under (hint hint) I can't tell if that's
the problem.  The work-around is to split the mailbox into two pieces,
both smaller than 2GB, run the duplicate checking, and then recombine the
now-smaller-and-dup-free parts and run it again (with a new cache file!).


testing with another mailbox file, it stops on some other position. i even 
checked everything with -q- option, but it's not giving more information 
except "segmentation fault"

How big was the other mailbox file?


Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>