Re: Slow Response for dial-up users

From: Ralf Hildebrandt (no email)
Date: Fri Mar 01 2002 - 04:44:51 EST


On Fri, Mar 01, 2002 at 10:40:50AM +0200, Warren Flemmer wrote:
> Greetings
>
> I have been having complaints about the slow responses from a postfix
> server, but only from dial-up users.

Sound like dial-ups where the IP doesn't resolve back to a name. Check
the logs. Do these guys have "unknown" as client name?

> read the FAQs, which implies that their is a lookup problem. I have
> tested both forward and reverse lookups for the ip used by the dial-up
> users and they are good (except one that I left out so I could compare).

OK.

> I have also setup the hosts file for the ip's used by the dial-up
> servers (users ips), but yet the response of postfix for the dialup
> users is bad. I have left the default search order for host file and DNS
> (host first then DNS). Lan users do not have an issue, the response is
> great. The server also has cyrus-imap which responds like a dream to all
> users (so I don't think its a resource issue).

Does cyrus perform reverse lookups?

> The problem does not seem
> to be the transfer of the actual data but rather the response to
> commands that seems to have large delays (3 to 20 seconds, and on some
> occasions going close to a minute or more). Cyrus on the other hand
> seems almost instantaneous, even for dial-up users.

Obviously it does not lookups. Courier doesn't do lookups either.

> I run smtpd from xinetd and it is a RH7.1 box. postfix-20010228-pl03. I
        ^^^^^^^^^^^^^^^^^
Arrrgh. Why that?

> have increased 'nice' to -10 in xinetd which did help a little. I do not
> want to remove smtp from xinetd as it offers some other features that I
> find very useful.

Like? Limiting how many concurrent connections are accepted from one
machine?

> I am also making use of mysql tables for most things.

Is the mysql server fast enough too keep up?

> I am also using amavis perl for anti-virus. Server load is very low,
> about 300 users. Most of the time the CPU is at 99 percent ideal.

OK.
 
> Any ideas of where to go from here would be appreciated.

Show some logs or better still: postconf -n output and a pflogsumm.pl
log summary with smtpd_stats.

-- 
Ralf Hildebrandt (Im Auftrag des Referat V A)   
Charite Campus Virchow-Klinikum                 Tel.  +49 (0)30-450 570-155
Referat V A - Kommunikationsnetze -             Fax.  +49 (0)30-450 570-916
Computer /nm./: a device designed to speed and automate errors.
                                       -- From the Jargon File. 
-
To unsubscribe, send mail to  with content
(not subject): unsubscribe postfix-users







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD