[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#4545) bug in libldap / back-meta
On Sat, 2006-05-13 at 23:54 +0000, hyc@OpenLDAP.org wrote:
> I noticed that test036 was producing over 2GB of logs in testrun/slapd.3.log.
I haven't noticed it because I used to run tests with SLAPD_DEBUG=0 or
stats; it appears to affect test039 (same as test036 but with back-
ldap), so I suspect libldap rather than back-meta itself.
> It
> appears there is an LDAP session handle with thousands of incomplete requests on
> it, and each time it's referenced libldap logs the list of outstanding requests.
> They're never resolved, they just get freed at shutdown time. It seems that RE23
> does not have this problem. I haven't had time to investigate further.
>From the logs, that handle seems to be related to referrals, which
actually occur during the test, but are not chased (chase-referrals no):
...snip
ldap_chkResponseList ld 0x98d410 msgid 5758 all 0
ldap_chkResponseList returns ld 0x98d410 NULL
ldap_int_select
read1msg: ld 0x98d410 msgid 5758 all 0
ber_get_next
ber_get_next: tag 0x30 len 73 contents:
read1msg: ld 0x98d410 msgid 5758 message type search-reference
ldap_chkResponseList ld 0x98d410 msgid 5759 all 0
ldap_chkResponseList returns ld 0x98d410 NULL
wait4msg ld 0x98d410 msgid 5759 (timeout 100000 usec)
wait4msg continue ld 0x98d410 msgid 5759 all 0
** ld 0x98d410 Connections:
* host: localhost port: 9012 (default)
refcnt: 1157 status: Connected
last used: Sun May 14 23:12:57 2006
** ld 0x98d410 Outstanding Requests:
* msgid 5760, origid 5760, status InProgress
outstanding referrals 0, parent count 0
... ~2200 outstanding requests...
p.
Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team
SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office: +39.02.23998309
Mobile: +39.333.4963172
Email: pierangelo.masarati@sys-net.it
------------------------------------------