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

(ITS#5152) too much logging



Full_Name: Babu
Version: 2.3.32
OS: RedHAT3
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (198.181.11.27)


Hello,

We are having hell of problems in production with # logs getting
generated..almost 4Gig worth of transaction binary/BDB logs in a day(4000 10mb
files). 

No debugging/logging turned in slapd.

Log rotate scripts is moving the logs to diff location to keep the prod up..but
few times we ran of space and I don't find any clue on minimize and log only for
updated transactions. It seems BDB is recording every read/write(not sure)..I
can't enable Auto_Achieve as need them for recovery.

Any known issue in the space? How to turn of unwanted logging of BDB?


==================Here are the detail of prod volume & DB_CONFIG file=====
openldap-2.3.32&BDB 4.5.20
our ldap/BDB is generating too many logs file. 
Total records in ldap/BDB - 110k
Reads  - 10k/day
Updates - 1k/day

=================DB_CONFIG=======
# one 0.25 GB cache
#set_cachesize 0 268435456 1
set_cachesize 0 	5242880 1

# Data Directory
set_lk_max_locks   8000
set_lk_max_lockers 8000
set_lk_max_objects 8000
set_lg_max      8048576

===============SLAPD.conf========
Nothing special in and inxed we have are========

#index
index   uid     eq
index   cn      eq
index   uniqueMember    eq
index   objectClass     pres,eq
=============

thank you

# Transaction Log settings
set_lg_regionmax 262144
set_lg_bsize 2097152