I think there are 2 questions here. Frist, whether or not unbinding is
useful/necessary I believe depends of the server. Unbinds actually caused
a problem ith an earlier vertion of Novell, but it isn't an issue now.
I suspect that most servers won't be affected if you drop a conncetion
without unbinding or rebind on the same connection without unbinding.
As far as for how many simultaneous conncetions you can make, that is both
a hardware and software issue on the server side. I would suggest writing
a perl app that forks a bunch of children each of which does repeated
connections and test, gradually cranking up the number of children until
something screams. This assumes that you are running perl on a system
that does forking.
--Jim Harle
On Thu, 10 May 2001, Dan G. Lunde wrote:
> Hi
>
> We experienced lags of several minutes with our LDAP-server yesterday.
> However this was caused by general network problems, and not our LDAP
> programs.
>
> For a while I suspected this was due to the fact that I never did
> $ldap->unbind when I was done with a connection. This is fixed now, but I was
> wondering if I in fact could connect too many times in a row and not be able
> to connect any more?
>
> We use LDAP for storing configuration data for mailaccounts, and we expect
> the LDAP-server to be severely hammered when we start using our new system
> with real accounts and hundreds of users at a time. Are there any limits on
> how many LDAP-connections you can make?
>
> Dan
> --
> Dan G. Lunde - dan...@c2...
> http://home.world-online.no/~danglund/pgp/pgp...@c2...c
>
>
|