[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: Help tweaking settings so slapd is not writing to disk so much
Are you using memory mapped files for BdB ?
You should move to shared mem.
++Cyrille
-----Original Message-----
From: openldap-technical-bounces@OpenLDAP.org [mailto:openldap-technical-bounces@OpenLDAP.org] On Behalf Of Marc Roos
Sent: Monday, March 05, 2012 11:51 PM
To: openldap-technical@openldap.org
Subject: Help tweaking settings so slapd is not writing to disk so much
Hi
I am running on a vm dovecot and sendmail with authentication through pam agains ldap. I have got strange spikes in the load and I think slapd is writing to much to disk. I want to reduce disk io.
Anybody an idea why slapd is so often writing to disk instead of reading?
The slapd process keeps writing to disk although it is setup as a 'consumer'
and it does not receive any new data. There are only 2200 records and olcDbDNcacheSize and olcDbIDLcacheSize are both set to 3000.
Thanks in advance for suggestions.
Total DISK READ: 0.00 B/s | Total DISK WRITE: 0.00 B/s
TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND
10297 be/4 ldap 0.00 B/s 42.66 K/s 0.00 % 0.00 % slapd -h
ldap:///~/ ldapi:/// -u ldap
10298 be/4 ldap 0.00 B/s 11.64 K/s 0.00 % 0.00 % slapd -h
ldap:///~/ ldapi:/// -u ldap
10299 be/4 ldap 0.00 B/s 11.64 K/s 0.00 % 0.00 % slapd -h
ldap:///~/ ldapi:/// -u ldap
1 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % init
2 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kthreadd]
3 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [migration/0]
4 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [ksoftirqd/0]
5 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [migration/0]
6 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [watchdog/0]
7 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [migration/1]
8 rt/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [migration/1]