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

LDAP performance question



Hello
 
  I have setup LDAP to authenticate using pam.
but I am seeing performance lack.
I have created single ou=ykf and all user info is in there i-e uid, gid looking at slapd.log It seems slapd is looking at ou repeatedly for some reason.
I have also enabled caching
 
Here is slapd.conf
 
database        ldbm
cachesize       500
dbcachesize     200000
index   objectClass,uid,uidNumber,gidNumber,memberUid   eq
index   cn,mail,surname,givenname                       eq,subinitial
password-hash   {crypt}
password-crypt-salt-format      "$1$%.8s"
#loglevel 128
Of course all other things are in slapd.conf,
 
Here is slapd.log
You will see a user login session starts and ends, but so many time slapd is repeating I am not sure if this is default and I am not loggin anyhting
 

Jul 13 14:41:22 pcnavykfsupp2 slapd[27875]: conn=19 op=4 SRCH base="ou=ykf,dc=navtechinc,dc=com" scope=1 filter="(&(objectClass=posixAccount)(uid=jean))"

Jul 13 14:41:22 pcnavykfsupp2 slapd[27875]: conn=19 op=4 SEARCH RESULT tag=101 err=0 text=

Jul 13 14:41:22 pcnavykfsupp2 slapd[27879]: conn=19 op=5 SRCH base="ou=ykf,dc=navtechinc,dc=com" scope=1 filter="(&(objectClass=posixAccount)(uid=jean))"

Jul 13 14:41:22 pcnavykfsupp2 slapd[27879]: conn=19 op=5 SEARCH RESULT tag=101 err=0 text=

Jul 13 14:41:22 pcnavykfsupp2 slapd[27876]: conn=19 op=6 SRCH base="ou=ykf,dc=navtechinc,dc=com" scope=1 filter="(&(objectClass=shadowAccount)(uid=jean))"

Jul 13 14:41:22 pcnavykfsupp2 slapd[27876]: conn=19 op=6 SEARCH RESULT tag=101 err=0 text=

Jul 13 14:41:24 pcnavykfsupp2 slapd[27875]: conn=19 op=7 SRCH base="ou=ykf,dc=navtechinc,dc=com" scope=1 filter="(&(objectClass=posixAccount)(uid=jean))"

Jul 13 14:41:24 pcnavykfsupp2 slapd[27875]: conn=19 op=7 SEARCH RESULT tag=101 err=0 text=

Jul 13 14:41:24 pcnavykfsupp2 slapd[27879]: conn=19 op=8 SRCH base="ou=ykf,dc=navtechinc,dc=com" scope=1 filter="(&(objectClass=shadowAccount)(uid=jean))"

Jul 13 14:41:24 pcnavykfsupp2 slapd[27879]: conn=19 op=8 SEARCH RESULT tag=101 err=0 text=

Jul 13 14:41:24 pcnavykfsupp2 slapd[27876]: conn=19 op=9 SRCH base="ou=ykf,dc=navtechinc,dc=com" scope=1 filter="(&(objectClass=posixAccount)(uid=jean))"

Jul 13 14:41:24 pcnavykfsupp2 slapd[27876]: conn=19 op=9 SEARCH RESULT tag=101 err=0 text=

Jul 13 14:41:24 pcnavykfsupp2 slapd[27875]: conn=19 op=10 SRCH base="ou=ykf,dc=navtechinc,dc=com" scope=1 filter="(&(objectClass=shadowAccount)(uid=jean))"

Jul 13 14:41:24 pcnavykfsupp2 slapd[27875]: conn=19 op=10 SEARCH RESULT tag=101 err=0 text=

Jul 13 14:41:24 pcnavykfsupp2 slapd[27879]: conn=19 op=11 SRCH base="ou=ykf,dc=navtechinc,dc=com" scope=1 filter="(&(objectClass=posixAccount)(uid=jean))"

Jul 13 14:41:24 pcnavykfsupp2 slapd[27879]: conn=19 op=11 SEARCH RESULT tag=101 err=0 text=

Jul 13 14:41:24 pcnavykfsupp2 slapd[27876]: conn=19 op=12 SRCH base="dc=navtechinc,dc=com" scope=1 filter="(uid=jean)"

Jul 13 14:41:24 pcnavykfsupp2 slapd[27876]: conn=19 op=12 SEARCH RESULT tag=101 err=0 text=

Jul 13 14:41:24 pcnavykfsupp2 slapd[27875]: conn=19 op=13 SRCH base="ou=ykf,dc=navtechinc,dc=com" scope=1 filter="(&(objectClass=posixGroup)(memberUid=jean))"

Jul 13 14:41:24 pcnavykfsupp2 slapd[27875]: conn=19 op=13 SEARCH RESULT tag=101 err=0 text=

Jul 13 14:41:24 pcnavykfsupp2 slapd[27879]: conn=19 op=14 SRCH base="ou=ykf,dc=navtechinc,dc=com" scope=1 filter="(&(objectClass=posixAccount)(uid=jean))"

Jul 13 14:41:24 pcnavykfsupp2 slapd[27879]: conn=19 op=14 SEARCH RESULT tag=101 err=0 text=

Jul 13 14:41:24 pcnavykfsupp2 slapd[27876]: conn=19 op=15 SRCH base="ou=ykf,dc=navtechinc,dc=com" scope=1 filter="(&(objectClass=posixAccount)(uid=jean))"

Jul 13 14:41:24 pcnavykfsupp2 slapd[27876]: conn=19 op=15 SEARCH RESULT tag=101 err=0 text=

Jul 13 14:41:24 pcnavykfsupp2 slapd[27872]: daemon: conn=21 fd=19 connection from IP=204.138.155.41:33057 (IP=0.0.0.0:389) accepted.

Jul 13 14:41:24 pcnavykfsupp2 slapd[27875]: conn=21 op=0 BIND dn="CN=MANAGER,DC=NAVTECHINC,DC=COM" method=128

Jul 13 14:41:24 pcnavykfsupp2 slapd[27875]: conn=21 op=0 RESULT tag=97 err=0 text=

Jul 13 14:41:24 pcnavykfsupp2 slapd[27872]: deferring operation

Jul 13 14:41:25 pcnavykfsupp2 slapd[27879]: conn=21 op=1 SRCH base="ou=ykf,dc=navtechinc,dc=com" scope=1 filter="(&(objectClass=posixAccount)(uidNumber=501))"

Jul 13 14:41:25 pcnavykfsupp2 slapd[27879]: conn=21 op=1 SEARCH RESULT tag=101 err=0 text=

Jul 13 14:41:25 pcnavykfsupp2 slapd[27872]: daemon: conn=22 fd=20 connection from IP=204.138.155.41:33058 (IP=0.0.0.0:389) accepted.

Jul 13 14:41:25 pcnavykfsupp2 slapd[27876]: conn=22 op=0 BIND dn="CN=MANAGER,DC=NAVTECHINC,DC=COM" method=128

Jul 13 14:41:25 pcnavykfsupp2 slapd[27876]: conn=22 op=0 RESULT tag=97 err=0 text=

Jul 13 14:41:25 pcnavykfsupp2 slapd[27872]: deferring operation

Jul 13 14:41:25 pcnavykfsupp2 slapd[27875]: conn=22 op=1 SRCH base="ou=ykf,dc=navtechinc,dc=com" scope=1 filter="(&(objectClass=posixAccount)(uidNumber=501))"

Jul 13 14:41:25 pcnavykfsupp2 slapd[27875]: conn=22 op=1 SEARCH RESULT tag=101 err=0 text=

Jul 13 14:41:25 pcnavykfsupp2 slapd[27875]: conn=-1 fd=20 closed

Jul 13 14:41:25 pcnavykfsupp2 slapd[27872]: daemon: conn=23 fd=20 connection from IP=204.138.155.41:33059 (IP=0.0.0.0:389) accepted.

Jul 13 14:41:25 pcnavykfsupp2 slapd[27879]: conn=23 op=0 BIND dn="CN=MANAGER,DC=NAVTECHINC,DC=COM" method=128

Jul 13 14:41:25 pcnavykfsupp2 slapd[27879]: conn=23 op=0 RESULT tag=97 err=0 text=

Jul 13 14:41:25 pcnavykfsupp2 slapd[27872]: deferring operation

Jul 13 14:41:25 pcnavykfsupp2 slapd[27876]: conn=23 op=1 SRCH base="ou=ykf,dc=navtechinc,dc=com" scope=1 filter="(&(objectClass=posixGroup)(gidNumber=501))"

Jul 13 14:41:25 pcnavykfsupp2 slapd[27876]: conn=23 op=1 SEARCH RESULT tag=101 err=0 text=

Jul 13 14:41:25 pcnavykfsupp2 slapd[27872]: daemon: conn=24 fd=21 connection from IP=204.138.155.41:33060 (IP=0.0.0.0:389) accepted.

Jul 13 14:41:25 pcnavykfsupp2 slapd[27876]: conn=-1 fd=20 closed

Jul 13 14:41:26 pcnavykfsupp2 slapd[27875]: conn=24 op=0 BIND dn="CN=MANAGER,DC=NAVTECHINC,DC=COM" method=128

Jul 13 14:41:26 pcnavykfsupp2 slapd[27875]: conn=24 op=0 RESULT tag=97 err=0 text=

Jul 13 14:41:26 pcnavykfsupp2 slapd[27872]: deferring operation

Jul 13 14:41:26 pcnavykfsupp2 slapd[27879]: conn=24 op=1 SRCH base="ou=ykf,dc=navtechinc,dc=com" scope=1 filter="(&(objectClass=posixAccount)(uidNumber=501))"

Jul 13 14:41:26 pcnavykfsupp2 slapd[27879]: conn=24 op=1 SEARCH RESULT tag=101 err=0 text=

Jul 13 14:41:26 pcnavykfsupp2 slapd[27879]: conn=-1 fd=21 closed

Jul 13 14:41:31 pcnavykfsupp2 slapd[27872]: conn=-1 fd=19 closed

Jul 13 14:41:31 pcnavykfsupp2 slapd[27876]: conn=19 op=16 SRCH base="ou=ykf,dc=navtechinc,dc=com" scope=1 filter="(&(objectClass=posixAccount)(uid=jean))"

Jul 13 14:41:32 pcnavykfsupp2 slapd[27876]: conn=19 op=16 SEARCH RESULT tag=101 err=0 text=

Jul 13 14:41:32 pcnavykfsupp2 slapd[27872]: conn=-1 fd=9 closed

Jul 13 14:41:32 pcnavykfsupp2 slapd[27875]: conn=20 op=2 UNBIND

Jul 13 14:41:32 pcnavykfsupp2 slapd[27875]: conn=-1 fd=16 closed

 

Any respose will be appreciated

Thanks


Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!