When setting up
logging in /etc/syslog.conf on the LDAP server make sure you prepend the
logfile entry with a minus sign.
local4.* -/var/log/ldap.log
The
"-" prevents syncing of the log file to disk every time that a write
is made. This greatly improves the speed of LDAP searches when logging is
enabled.
-Mike
Date: Mon, 8 Nov 2010 14:57:04 +0100
From: jean-louis.couturier@cnes.fr
To: openldap-technical@openldap.org
Subject: Openladp is very very slow with log activated
Hi
Somebody has already had any problems of big slowness (to see out
of order) with openldap when the log in openladp is activated, the
os of linux is Suse server 11 and the base of Openldap is Berklet
Data Base.
Message body