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    : [EMAIL PROTECTED]
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             [EMAIL PROTECTED]

ci.fct.unl.pt:~# _

Reply via email to