Think about Loose Coupling | |
PerlMonks |
Re^2: Using Mozilla::LDAP instead of Net::LDAPby LittleGreyCat (Scribe) |
on Sep 26, 2006 at 11:41 UTC ( [id://574910]=note: print w/replies, xml ) | Need Help?? |
Strat, O.K. - here we go :-) I am searching a directory using an authenticated bind. I am using the same connection for a number of searches; essentially navigating down the X.500 DIT to extract leaf entries from some (but not all) limbs of the directory. On the test system this always works. On the live system this often works. When searching a particularly large subtree I seem to get all the data back, but the connection is shown in the DSA log as unbinding, although I have not issued an 'unbind'. The next search fails (obviously); I then have to bind to the directory again before I can search again.
I have no real evidence as to why the connection has unbound. It could be a timeout condition under load, perhaps. Any suggestions on how to improve the resilience of the search would be welcome. Regards Dave R.
Nothing succeeds like a budgie with no teeth.
In Section
Seekers of Perl Wisdom
|
|