Qmail-LDAP
[Top] [All Lists]

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

To: sato x <gladiol4@gmail.com>
Subject: Re: qmail-ldap server is to "slow" - how to tune it?
From: Hugo Monteiro <hugo.monteiro@fct.unl.pt>
Date: Wed, 16 May 2007 11:30:54 +0100
Cc: qmail-ldap@qmail-ldap.org
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>
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
References: <f5ba7b270705160255x3fbddeddkd1124757edf63c8c@mail.gmail.com>
User-agent: Icedove 1.5.0.10 (X11/20070329)
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).
>
> Currently we're running a qmail server (qmailrocks installation), and
> the time we need to send and email is only about 1 - 2 seconds (the
> time it needs to process emails was even faster than the qmail-ldap
> server). Was the location of the LDAP server has caused this?  Below
> is the architecture of our network. Both the qmail server and
> qmail-ldap server were in the same network (DMZ), the LDAP server was
> in the local network (LAN). *SW = core switch
>
>
> LAN -------------|-----|SW|--------- FIREWALL/ROUTER
> --------------------- INTERNET
> LDAP server ---|                                  |
> Squid proxy ---|                                   |
> File server -----|                                   |
>                                                   DMZ-switch
>                                    _____________|__________
>                                   
> |                                        |
>                                   
> |                                        |
>                        qmail-ldap server                   qmail-server
>
> Is there a way to tune qmail-ldap server so it can work (at least) as
> fast as the existing qmail server? I really need help due to this
> problem and I will appreciate every single clue. Thank you in advance.
>
> Regards,
>
> sato
>
> PS. I have a couple server that utilize the LDAP server :
>     1. Samba PDC  for windows domain, about 300 users
>     2. Samba Winbind for squid proxy authentication, 150 users
>     3. Samba file server that heavily used, 300 users
>

Check that you have the proper LDAP indexes. That delay may be caused by
the inexistence of the indexes associated to the qmail attributes.


Regards,

Hugo Monteiro.

-- 
ci.fct.unl.pt:~# cat .signature

Hugo Monteiro
Email    : hugo.monteiro@fct.unl.pt
Telefone : +351 212948300 Ext.15307

Centro de Informática
Faculdade de Ciências e Tecnologia da
                   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
www.ci.fct.unl.pt             apoio@fct.unl.pt

ci.fct.unl.pt:~# _


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