[Date Prev][Date Next]
Re: Problem with 2.0.7: cpu usage
Pedro Melo wrote:
> i'm using 2.0.7 with qmail-ldap. The ldap server contains around 270k
> We are getting 1 query/sec avg, but we have peek's of 30 or more per sec.
> Performance is ok, and everything works like a charm most of the time,
> but from time to time, slapd start's to eat all the CPU, and stop's
> anwsering queries. Load's shoot up to 32 (strangly, is always the same
> load avg...)
> Another thing that happens ist that I start loosing entries, but I
> suppose that's because I have no other choice than to killall -9 slapd
> and restart it...
> Is there a "debug guide", hints on where to look for what's going on?
I experienced something similar in the past; I saw postings that hinted
to tcp wrappers and rlookups as possible causes; not directly themselves,
but their frequent resorting to dns calls, possibly combined with dns
malfunctions. As a matter of fact, I noted a reduction of such occurrences
when compiling without tcp wrappers and when using IPs instead of host
names for very demanding clients (web/proxy/imap auth, sendmail, and so).
Dr. Pierangelo Masarati | voice: +39 02 2399 8365
Dip. Ing. Aerospaziale | fax: +39 02 2399 8334
Politecnico di Milano | mailto:firstname.lastname@example.org
via La Masa 34, 20156 Milano, Italy | http://www.aero.polimi.it/~masarati