Leaving a connection open
Ron Teitelbaum
Ron at USMedRec.com
Thu Mar 27 20:50:37 CET 2008
Hi,
I have a few questions about leaving a bound connection open for sharing
(python 2.4.4, python-ldap 2.2.1 - openldap 2.3-2.3.30 on Ubuntu 7.04).
I'm using Async messages is there any benefit to using ReconnectLdapObject?
I noticed that the comments
http://vmspython.dyndns.org/pyhtmldoc/ldap.ldapobject.html said that the
class was intended for synchronous calls.
Is it ok to leave the connection open for long periods like a month? Is it
realistic to believe that the connection would remain stable and be useable
for production if left open?
Is there a way to tell if the connection died so that I can reconnect a
shared connection if the connection dropped off? I tried unbind and
whoami_s but got a very nasty memory error after a very long delay.
Thanks for your help!
Ron Teitelbaum
More information about the python-ldap
mailing list