[Mimedefang] file descriptor scope and embedded perl

Chris Masters rotis23 at yahoo.com
Fri Jul 9 12:21:31 EDT 2004


Solved by performing a dummy call to force data source
handle declaration/initialisation/connection at slave
startup:

sub filter_initialize() 
{ 
        #Declare Connection handles 
        undef $My_dbh; 
        undef $My_Ldap; 

        #dummy call to make initial connection
        get_db_connection(); 
        get_ldap_connection(); 
} 

--- "David F. Skoll" <dfs at roaringpenguin.com> wrote:
> On Tue, 6 Jul 2004, Chris Masters wrote:
> 
> > I still have the problem of bad file descriptors:
> 
> What's the actual log message?  Does the database
> server log anything
> funny?
> 
> Regards,
> 
> David.
> _______________________________________________
> Visit http://www.mimedefang.org and
> http://www.canit.ca
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
>
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail



More information about the MIMEDefang mailing list