[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldap hangs server ( consumed all memory )



what can cause ldap to consume almost all the memory on a 2Gbyte server. the 
result was that the ldap processes causing this were killed by the kernel.  
did not found  much of error messages..
ldap version -> slapd 2.2.6
backend -> bdb 4.2.52

in /var/log/warn
Nov  8 12:29:49 turnhout kernel: Out of Memory: Killed process 15748 (slapd).
Nov  8 12:30:37 turnhout kernel: Out of Memory: Killed process 17104 (slapd).
Nov  8 12:30:37 turnhout kernel: Out of Memory: Killed process 17105 (slapd).

in /var/log/slapd.log

Nov  8 12:11:16 turnhout slapd[2246]: conn=20185 fd=19 ACCEPT from 
IP=127.0.0.1:33502 (IP=0.0.0.0:389)
Nov  8 12:11:16 turnhout slapd[2246]: connection_input: conn=20184 deferring 
operation: binding
Nov  8 12:11:16 turnhout slapd[2246]: conn=20183 op=2 UNBIND
Nov  8 12:11:16 turnhout slapd[2246]: conn=20184 op=0 BIND dn="" method=128
Nov  8 12:11:16 turnhout slapd[2246]: conn=20184 op=0 RESULT tag=97 err=0 
text=
Nov  8 12:11:16 turnhout slapd[2246]: conn=20183 fd=38 closed
Nov  8 12:11:44 turnhout slapd[2246]: conn=20186 fd=38 ACCEPT from 
IP=127.0.0.1:33503 (IP=0.0.0.0:389)
Nov  8 12:11:44 turnhout slapd[2246]: connection_input: conn=20185 deferring 
operation: binding
Nov  8 12:11:44 turnhout slapd[2246]: conn=20184 op=2 UNBIND
Nov  8 12:11:44 turnhout slapd[2246]: conn=20184 fd=47 closed
Nov  8 12:11:44 turnhout slapd[2246]: conn=20185 op=0 BIND dn="" method=128
Nov  8 12:11:44 turnhout slapd[2246]: conn=20176 op=1 SRCH 
base="ou=people,dc=deterp,dc=be" scope=2 deref=0 filter="(&(uid=imarit)
(objectClass=sambaAccount))"
Nov  8 12:11:44 turnhout slapd[2246]: conn=20176 op=1 SRCH attr=uid uidNumber 
gidNumber homeDirectory pwdLastSet pwdCanChange pwdMustChange logonTime 
logoffTime kickoffTime cn displayName smbHomehomeDrives scriptPath 
profilePath description userWorkstations rid primaryGroupID lmPassword 
ntPassword domain objectClass acctFlags
Nov  8 12:11:44 turnhout slapd[2246]: conn=20185 op=0 RESULT tag=97 err=0 
text=
Nov  8 12:11:45 turnhout slapd[2246]: <= bdb_equality_candidates: (gidNumber) 
index_param failed (18)
Nov  8 12:31:37 turnhout slapd[2246]: <= bdb_equality_candidates: (uidNumber) 
index_param failed (18)
Nov  8 12:31:39 turnhout slapd[2246]: <= bdb_equality_candidates: (gidNumber) 
index_param failed (18)
Nov  8 12:31:39 turnhout slapd[2246]: <= bdb_equality_candidates: (gidNumber) 
index_param failed (



jef