[Date Prev][Date Next]
slapd cause too much load
I'm running OpenLDAP 2.1.22 on FreeBSD 4.8R-p10. The problem is
slapd is consuming 30-50% of CPU, causing sometimes problems with
authentication services (i.e. for cyrus-imapd). How do i know if
there is some tuning needed to slapd, i mean, if there is some
log-parsers or something? For now cyrus doing plaintext auth with
saslauthd, but i have plans for more secure MD5 auth with LDAP, and
i think that load will be even greater then, so i need to do
something now, while i have not too much load on slapd machine.
There is postfix&cyrus on the slapd machine and squid&radius on
the other machine using LDAP database for authentication. I'm
thinking about to run slave slapd on squid&radius machine to split
load, but i need to know that slave slapd is the only way. I'm
wondering that maybe i can tune slapd or reduce load somehow other
Postfix using LDAP for local recipients map, and cyrus, squid, and
radius for authentication purposes.
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.8-RELEASE-p10 #2: Thu Sep 25 22:54:06 MSD 2003
Timecounter "i8254" frequency 1193182 Hz
CPU: Intel Celeron (898.47-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x68a Stepping = 10
real memory = 267321344 (261056K bytes)
avail memory = 256151552 (250148K bytes)