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

Re: OpenLDAP 2.2.23 and slurpd





--On Friday, February 18, 2005 4:34 PM -0500 Reinhard Nappert <rnappert@juniper.net> wrote:


Hi,

I configured (--enable-slurpd), compiled and installed OpenLDAP 2.2.23
(for SUN Solaris 8)  on three different boxes, where one master pushes
changes to 2 slaves.

All boxes contain just 2 entries (identical). I noticed that I get an
io-wait of more than 50 %, when I slurpd process, although I do not
perform any data changes.

I run my 9 LDAP servers on Solaris 8. slurpd functions just fine.

Here is the top output from my master:

load averages: 0.04, 0.04, 0.04 14:10:26
29 processes: 28 sleeping, 1 on cpu
CPU states: 97.3% idle, 2.7% user, 0.0% kernel, 0.0% iowait, 0.0% swap
Memory: 4096M real, 2066M free, 2121M swap in use, 1670M swap free


  PID USERNAME THR PRI NICE  SIZE   RES STATE    TIME    CPU COMMAND
22930 quanah     1  58    0 3176K 1680K cpu      0:00  0.13% top
22912 root       1  58    0 2760K 2336K sleep    0:00  0.13% klogind
12594 root       4  58    0 2088M  831M sleep    0:59  0.09% slapd
22915 quanah     1  15    0 3600K 2880K sleep    0:00  0.02% tcsh
  132 root      15  58    0 3448K 2064K sleep   62:15  0.02% syslogd
22914 root       1  38    0 2376K 1600K sleep    0:00  0.01% login.krb
  202 dnscache   1  58    0   11M   11M sleep   19:56  0.00% dnscache
  205 root       1  48    0 1688K 1040K sleep    9:29  0.00% tcpserver
  203 dnslog     1  59    0  968K  640K sleep    3:48  0.00% multilog
  139 root       1  58    0   10M 9720K sleep    0:29  0.00% cron
12604 root      12  59    0 8472K 6872K sleep    0:19  0.00% slurpd
    1 root       1  58    0  808K  264K sleep    0:15  0.00% init
  196 root       1  59    0  952K  640K sleep    0:06  0.00% supervise
  199 root       1  59    0  952K  640K sleep    0:04  0.00% supervise
  129 root       1  59    0 2592K 1288K sleep    0:03  0.00% ntpd


As you can see, slurpd is 0.00%, and iowait is 0.0%.

I would see if

a) Your slurpd can bind to the replicas
and

b) Your slurpd can actually write to the replicas

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin