Openldap 2.4.40-6.el6_7
RHEL 6.7
mdb backend
ldapmodify is hanging; the hang first evidenced itself in a bulk update. The hang occurs even for a simple update -- with debug set to 1 on the ldapmodify statement (using interactive mode) the block of output listed at below repeats endlessly with no change to the values displayed. The slapd audit log shows no update for the intended record.
The problem started after I added a significant amount of data; not new structural objects (OUs) but many entries under them. Have I reached some sort of threshold?
I have:
- stopped/started slapd;
- run a full slapcat and slapadd to a new database
I am running the monitor database; would there be data of value there about this condition?
mdb_stats output:
sudo mdb_stat -ef /etc/openldap/openldap-dataEnvironment InfoMap address: (nil)Map size: 8589934592Page size: 4096Max pages: 2097152Number of pages used: 618975Last transaction ID: 3647Max readers: 126Number of readers used: 0Freelist StatusTree depth: 1Branch pages: 0Leaf pages: 1Overflow pages: 11Entries: 7Free pages: 5233Status of Main DBTree depth: 1Branch pages: 0Leaf pages: 1Overflow pages: 0Entries: 16
debug output from ldapmodify:
** ld 0x1ed4e30 Outstanding Requests:* msgid 2, origid 2, status InProgressoutstanding referrals 0, parent count 0ld 0x1ed4e30 request count 1 (abandoned 0)** ld 0x1ed4e30 Response Queue:Emptyld 0x1ed4e30 response count 0ldap_chkResponseList ld 0x1ed4e30 msgid 2 all 1ldap_chkResponseList returns ld 0x1ed4e30 NULLldap_int_selectldap_result ld 0x1ed4e30 msgid 2wait4msg ld 0x1ed4e30 msgid 2 (timeout 100000 usec)wait4msg continue ld 0x1ed4e30 msgid 2 all 1** ld 0x1ed4e30 Connections:* host: localhost port: 389 (default)
refcnt: 2 status: Connectedlast used: Thu Mar 3 10:04:05 2016
** ld 0x1ed4e30 Outstanding Requests:* msgid 2, origid 2, status InProgressoutstanding referrals 0, parent count 0ld 0x1ed4e30 request count 1 (abandoned 0)** ld 0x1ed4e30 Response Queue:Emptyld 0x1ed4e30 response count 0ldap_chkResponseList ld 0x1ed4e30 msgid 2 all 1ldap_chkResponseList returns ld 0x1ed4e30 NULLldap_int_selectldap_result ld 0x1ed4e30 msgid 2
wait4msg ld 0x1ed4e30 msgid 2 (timeout 100000 usec)wait4msg continue ld 0x1ed4e30 msgid 2 all 1** ld 0x1ed4e30 Connections:* host: localhost port: 389 (default)refcnt: 2 status: Connectedlast used: Thu Mar 3 10:04:05 2016
...etc