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

Re: slurpd taking 44% cpu, help!



your machine doesn't happen to replicate to itself, does it?

Adam Shand wrote:
> 
> well i thought everything was working great but as i'm going through and
> double checking everything i find this (i have a master and two slaves
> with openldap 2.0.7 on solaris 8)..
> 
> as soon as i make a change to the master server slurpd goes up to about
> 40% cpu utilization:
> 
> protos(root)# top | grep slurp
>  21975 root       5  40    0 3168K 1960K cpu/2    3:17 48.18% slurpd
> 
> now the change does replicate to the slave servers, but the replog never
> seems to empty, it always has this in it:
> 
> replace: userPassword
> userPassword:: e0NSWVBUfWFHemxYTGtDSVRlTFU=
> -
> replace: modifiersName
> modifiersName: cn=manager,dc=example,dc=net
> -
> replace: modifyTimestamp
> modifyTimestamp: 20010226121252Z
> 
> however all i changed was a users gecos field.  when i run slurpd in debug
> -1 mode i get this repeating over and over (very very quickly):
> 
> Retrieved state information for 172.16.1.21:389 (timestamp 983189572.0)
> Retrieved state information for 172.16.1.23:389 (timestamp 983189572.0)
> begin replication thread for 172.16.1.21:389
> Replica 172.16.1.21:389, skip repl record for uid=adam, ou=People,
> dc=example,dc=net (old)
> begin replication thread for 172.16.1.23:389
> Replica 172.16.1.23:389, skip repl record for uid=adam, ou=People,
> dc=example,dc=net (old)
> new work in /opt/openldap-2.0.7-2/var/openldap-slurp/replica/slurpd.replog copy replog "/opt/openldap-2.0.7-2/var/openldap-slurp/replica/slurpd.replog" to "/opt/openldap-2.0.7-2/var/openldap-slurp/replica/slurpd.replog"
> new work in /opt/openldap-2.0.7-2/var/openldap-slurp/replica/slurpd.replog copy replog "/opt/openldap-2.0.7-2/var/openldap-slurp/replica/slurpd.replog" to "/opt/openldap-2.0.7-2/var/openldap-slurp/replica/slurpd.replog"
> new work in /opt/openldap-2.0.7-2/var/openldap-slurp/replica/slurpd.replog copy replog "/opt/openldap-2.0.7-2/var/openldap-slurp/replica/slurpd.replog" to "/opt/openldap-2.0.7-2/var/openldap-slurp/replica/slurpd.replog"
> new work in /opt/openldap-2.0.7-2/var/openldap-slurp/replica/slurpd.replog copy replog "/opt/openldap-2.0.7-2/var/openldap-slurp/replica/slurpd.replog" to "/opt/openldap-2.0.7-2/var/openldap-slurp/replica/slurpd.replog"
> new work in /opt/openldap-2.0.7-2/var/openldap-slurp/replica/slurpd.replog copy replog "/opt/openldap-2.0.7-2/var/openldap-slurp/replica/slurpd.replog" to "/opt/openldap-2.0.7-2/var/openldap-slurp/replica/slurpd.replog"
> 
> any ideas?
> 
> adam.
begin:vcard 
n:Storm;Markus
tel;fax:++49 +5246 80-2867
tel;work:++49 +5246 80-1867
x-mozilla-html:FALSE
org:mediaWays GmbH;NMW-T
adr:;;Postfach 185;Guetersloh;;33311;Germany
version:2.1
email;internet:Markus.Storm@mediaWays.net
x-mozilla-cpt:;-20320
fn:Markus Storm
end:vcard