[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
slapd cause too much load
Hello openldap-software,
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
way.
Postfix using LDAP for local recipients map, and cyrus, squid, and
radius for authentication purposes.
Machine is:
$ dmesg
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
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,MMX,FXSR,SSE>
real memory = 267321344 (261056K bytes)
avail memory = 256151552 (250148K bytes)
Software:
openldap-2.1.22
postfix-2.0.15,1
cyrus-imapd-2.1.15_1
cyrus-sasl-2.1.15
cyrus-sasl-saslauthd-2.1.13
--
Best regards,
Alexander mailto:lan_mailing@startatom.ru