Hello,
I have two servers used in Samba domain setup. Both computers are running CentOS 5.5 x86_64, all updates installed, both are using the openldap-servers-2.3.43-12 and other requried packaged of the same version (2.3.43-12). All the required ports are open.
Master OpenLDAP server uses LDAP authentication, slave doesn't (Un*x authentcation). Slave syncs with the master (syncrepl) every several minutes. All the config files of both are the same, including DB_CONFIG. All recommended records are indexed. The only difference is the replciation section in /etc/opeldap/slapd.conf on slave.
When I run ldapsearch against slave (Un*x authentication), it responds almost immediately. When I run ldapsearch against master (LDAP authentication), it takes 2 to 10 seconds to receive data.
I would appreciate any hint on where to look for the reason of slow response on master server.
Thank you! Sincerely, Konstantin
The first thing I would try is reindexing (slapindex).
Do you have any hint from the logs? You can try to increase logging level to help troubleshooting.
Nick
On 2/11/2010 9:31 πμ, Konstantin Boyandin wrote:
I would appreciate any hint on where to look for the reason of slow response on master server.
openldap-technical@openldap.org