Dear Jonas,
Can you please provide me the steps in order to split the DB to avoid such problem in future. How can i proceed?? give me a detailed procedure!!


Thanks,
Ganesh S.P.

Jonas Eckerman wrote:

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>.




_______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to