Qmail-LDAP
[Top] [All Lists]

Re: qmail-ldap server is to "slow" - how to tune it?

To: qmail-ldap@qmail-ldap.org
Subject: Re: qmail-ldap server is to "slow" - how to tune it?
From: Claudio Jeker <jeker@n-r-g.com>
Date: Wed, 16 May 2007 13:27:58 +0200
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
In-reply-to: <f5ba7b270705160255x3fbddeddkd1124757edf63c8c@mail.gmail.com>
Mail-followup-to: Claudio Jeker <jeker@n-r-g.com>, qmail-ldap@qmail-ldap.org
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
References: <f5ba7b270705160255x3fbddeddkd1124757edf63c8c@mail.gmail.com>
User-agent: Mutt/1.5.12-2006-07-14
On Wed, May 16, 2007 at 04:55:30PM +0700, sato x wrote:
> Dear guys,
> 
> I have a qmail-ldap server that running well, except for its speed.
> When a client sends a message (a simple one with text only), it will
> take about 8 seconds for the email to disappear from the Outbox (I
> mean, the time needed for email to get sent).
> 
> I tried to raise the number of users into 23, and sent email in the
> same time (a couple times). The average time needed to send those
> emails raised to 16, 25, 50 seconds. It even took over 1 minute for
> some users. The receivers were local and remote (e.g., gmail.com).
> 

For smtp deliveries qmail-smtpd is used and depending on the settings
various DNS lookups and LDAP lookups are done. Slow behaviour is often a
sign that either your DNS is not correctly setup (like only the secondary
DNS server is working) or a problem with LDAP server (bad indexes or
reverse DNS lookups that do not work). Also have a look at your rbllist
file.

Also try to use telnet and issue the various SMTP commands by hand perhaps
you can identify which step takes way to long.
-- 
:wq Claudio

<Prev in Thread] Current Thread [Next in Thread>