Andrea,

Thanks for the info.  I switched to DB_File::Lock and things seem to be
running fine.  How many records are in your greylistdb?  I accumulated a
little over 38,000 in the past 12 hours, and i'm wondering if i'm
stretching the limitations of the DB_File format.

ray
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ray DeJean                                       http://www.r-a-y.org
Systems Engineer                    Southeastern Louisiana University
IBM Certified Specialist              AIX Administration, AIX Support
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


On Wed, 28 Apr 2004, Andrea Gabellini wrote:

> I saw the same error few month ago. I changed the locking mechanism using:
> 
> use DB_File::Lock;
> use Fcntl qw(:flock O_RDWR O_CREAT);
> 
> and opening the DB with the command:
> 
> $db = tie %GDB, 'DB_File::Lock', $DBFilename, O_CREAT|O_RDWR, undef, 
> $DB_HASH, 'write';
> 
> Andrea

_______________________________________________
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