[Mimedefang] error in Graphdefang

Jonas Eckerman jonas_lists at frukt.org
Mon Jul 26 08:51:43 EDT 2004


On Fri, 23 Jul 2004 12:33:29 +0530, Ravi.P CMC Engr wrote:

>  processing data file: /var/log/maillog
>  Corrupted storable string (binary v2.6) at ../../lib/Storable.pm
>  (autosplit into ../../lib/auto/Storable/thaw.al) line 358, at
>  /usr/lib/perl5/site_perl/5.8.1/MLDBM/Serializer/Storable.pm line 27

I had a lot of probles with Graphdefang, because whenever the database grew over a certain size it became corrupted. I solved by changing how the data was stored.

At first a started using YAML to serialize the data to disc. This worked fine, but used loads of RAM.

I then rewrote the database stuff to use DWHDB instead to tie the multilevel hash to a DB_File database. This has also worked fine. And after a while I split the data into two databases.

(What I would like to do is to rewrite it to use DBI, but so far I haven't had the time for that.)

Regards
/Jonas

PS. My version can be found at <http://whatever.frukt.org>.

-- 
Jonas Eckerman, jonas_lists at frukt.org
http://www.fsdb.org/




More information about the MIMEDefang mailing list