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

disk write on old 2.4.9



Hello list,

I have an ***old*** Ubuntu-8.04 running 2.4.9. I know, this is old, but
there are no security issues here. This slapd contains a small database
which is modified rarely. OTOH, there are many read operations. The
backend is hdb. As these boxes are running on a CF-disk I'd like to
limit disk writes, but when the database is queried, the backend is
being updated (slapd started at 11:25, read operation at 11:31):

# ls -altr /var/lib/ldap/
total 768
drwxr-xr-x 3 root     root        4096 2013-11-11 20:28 ..
-rw-r--r-- 1 openldap openldap      96 2017-11-08 09:36 DB_CONFIG
-rw------- 1 openldap openldap    8192 2017-11-08 11:25 objectClass.bdb
-rw------- 1 openldap openldap    8192 2017-11-08 11:25 dn2id.bdb
-rw------- 1 openldap openldap  123193 2017-11-08 11:25 log.0000000001
-rw------- 1 openldap openldap   65536 2017-11-08 11:25 id2entry.bdb
drwx------ 2 openldap openldap    4096 2017-11-08 11:25 .
-rw-r--r-- 1 openldap openldap    2048 2017-11-08 11:25 alock
-rw------- 1 openldap openldap   24576 2017-11-08 11:31 __db.005
-rw------- 1 openldap openldap  565248 2017-11-08 11:31 __db.004
-rw------- 1 openldap openldap   98304 2017-11-08 11:31 __db.003
-rw------- 1 openldap openldap 2629632 2017-11-08 11:31 __db.002
-rw------- 1 openldap openldap    8192 2017-11-08 11:31 __db.001

Is there a way to limit these disk writes? I didn't touch the standard
Ubuntu settings, except for the usual settings like SSL.

Richard.

-- 
richard lucassen
http://contact.xaq.nl/