I recently switched from performing a slapcat followed by using Net::LDAP::LDIF to load the entire LDAP directory into memory for batch updating from the authoritative sources to using Net::LDAP with callbacks because the LDAP directory has grown too large to fit in memory on this system.

The problem I am having is that the callback subroutine which makes several checks and also sometimes updates the entry, causes the perl debugger to blow up with the 99 levels of nested subroutines error.

However, it runs without error without the debugger. So, I'm guessing that the problem is the callback routine is taking too long to process each entry and the callbacks up are getting backed up.

Are there strategies for dealing with this problem in the debugger? (google hasn't been my friend today).

Thanks,
--
Frank Swasey                    | http://www.uvm.edu/~fcs
Sr Systems Administrator        | Always remember: You are UNIQUE,
University of Vermont           |    just like everyone else.
  "I am not young enough to know everything." - Oscar Wilde (1854-1900)

Reply via email to