[SLE] Slow Postfix

From: Javier Omella (jomella_at_gmail.com)
Date: 05/07/05

  • Next message: Preston Crawford: "Re: [SLE] SUSE 9.3: buggy as hell"
    Date: Fri, 6 May 2005 19:24:19 -0400
    To: suse-linux-e@suse.com
    
    

    Hello everybody!

    I'm using SuSE 9.2 + Postfix-2.2.2 + VDA-Patch 2.2.2 + Postgresql
    8.0.1 + Courier-Imap 4.0.2 + Courier-Authlib 0.55

    Aprox: 150.000 virtual users.

    Everything works perfect, it is very quick doing querys to the DB,
    DNS, etc, but.. from the last week, it became really slow when
    "queuing the messages"

    for example... sending an email manually...(domain is replaced by X):

    telnet 127.0.0.1 25
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    220 mail.xxxxxx.net ESMTP Postfix (2.2.2)
    helo xxxxx.net
    250 mail.xxxxx.net
    mail from: <usuario@xxx.net>
    250 Ok
    rcpt to: <usuario@xxx.net>
    250 Ok
    data
    354 End data with <CR><LF>.<CR><LF>
    hello world!

    ## UNTIL THIS POINT EVERYTHING IS REALLY QUICK:
    ## The telnet is quick
    ## helo, mail from:, rcpt to:, are quick
    ## This means that the postfix has already done every check
    ## DB, HELO_CHECKS, SENDER_CHECKS, CLIENT_CHECK, DNS, RBL, ETC
    ## but... when we end with "."
    ## It takes between 10 to 200 seconds to get the message queued
    .
    250 Ok: queued as 279C02555D0
    quit
    221 Bye

    Doing a debug, there is not errors. no time-out.. nothing.. I just
    cann see, a big time diference between the last INPUT of the client
    and the QUEUED.

    I was checking the process and the memory of the machine and it looks
    ok, I even moved the DB to another server just to let this machine
    work just with postfix... but.. it is just the same thing.

    with a Netstat I see the amount of established connections on port 25
    and with 2 or 70 connections it is the same, no difference.

    The master.cf is intact from package, and in the main.cf I just add
    the RBL, CHECKS, VIRTUAL, QUOTAS, ETC, I mean I didn't modify any
    delay value, or time out, etc.

    Some clue? idea? suggestion of what is happening?
    some postfix value related to the queue that may be the problem?
    somebody that has had this problem?

    ( I have never had this problem with postfix 2.0 )

    tks and happy weekend!

    -- 
    Jota Omella
    Developers Corp.
    http://planetas.net
    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Preston Crawford: "Re: [SLE] SUSE 9.3: buggy as hell"

    Relevant Pages

    • Re: Internal/External DNS
      ... DNS servers - only the internal servers themselves are shown there. ... The Forwarder is not it a Conditional Forwarder. ... On a personal note, I've seen issues with Postfix, well let me re-phrase ...
      (microsoft.public.windows.server.dns)
    • Re: [SLE] Postfix question
      ... >>drop the mail because the DNS didn't give it one, ... Where and why couldn't Postfix find the DNS. ... The DNS for my ISP ... This DNS could not find the name postfix wanted to find, or the DNS server ...
      (SuSE)
    • Re: [SLE] Postfix question
      ... Will let the list know their response. ... >>drop the mail because the DNS didn't give it one, ... Where and why couldn't Postfix find the DNS. ... If one of the DNS server doesn't answer (usually the one responsible ...
      (SuSE)
    • upgrade of postfix broke Mailman
      ... I recently apt-get dist-upgrade'd Postfix. ... After the upgrade, I first found that virtual users no longer received ... I found that attempts to deliver to Mailman no ... So with 'local_recipient_maps' I can deliver to my virtual users but not ...
      (Debian-User)
    • Re: Postfix - Limit Bandwidth
      ... but it is using up all our bandwidth. ... I've not had to do this with Postfix, but I have with certain other ... And this is because most MTAs will open lots of outbound TCP/IP ... connections if they have lots of mail to deliver. ...
      (Fedora)