Hi, On Friday, 21. December 2012, Girish Jagdish Khetan wrote: > We have used Net::LDAP in Perl (Version: 5.6.1) to process data from LDAPv3 > server on Linux environment. We are using callback (Asynchronous > processing) to process the data. At runtime, scripts are failing abruptly > with I/O Error after smooth execution for some time. Following is the > sample Error generated on console.
This seems to be a quite old installation of perl-ldap and Perl itself. Never version of perl-ldap (i.e. since 0.40) require Perl 5.8 Can you reproduce the issue with newer version of Perl and/or perl-ldap? > I/O Error > 308205750201046482056e04436178707065686173683d3064313663636435663334326239 > 34636530613036326333393437383865366339343236316534642c4f553d70656f706c652c4 > f3d6165787030820525301b040e656d706c6f7965656e756d62657231090407303035333233 > 3230170402636e3111040f4a6f69204c796e6e2046656e746f6e30270412617870707265676 > 97374657265646e616d653111040f55766d676c6e2c516c72206f796e6e3017040967697665 > 6e6e616d65310a0408516c72206f796e6e300e0402736e3108040655766d676c6e302604057 > 469746c65311d041b547261696e696e67202 > 620446576656c6f706d656e7420537065633021040f74656c6570686f6e656e756d6265723 > 10e040c3830312f3934352d373938323019040c617870706d61696c64726f70310904073032 > 203032303930260411617870706e6f74657366756c6c6e616d653111040f4a6f69204c796e6 > e2046656e746f6e3 > 02104046d61696c311904176a6f696c796e6e2e66656e746f6e40616578702e636f6d301a0 > 40d617870706d616e61676572696431 at GeneralFeed.pl line 347 Nice numbers ;-) Unfortunately not very informative about the error / its cause. > Line no (line 347) provided in error message refers to LDAP Search with > callback. This error is not occurring for any specific data. Also > occurrence of error is not associated with volume of data Perl script is > processing. Sometime error occurs in first 10 minutes and in other cases > it occurred after more than an hour of smooth execution. > > Do you have any idea on this? We are trying to explore root cause with the > help of NYTProf but without success. Any help or pointers in this regard > is highly appreciated. You may use perl-ldap's "debug" flag. Best PEter