niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Qmail
tcpserver strangeness on 64bit Opteron
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
Author Message
Jason Haar
*nix forums beginner


Joined: 17 Mar 2005
Posts: 23

PostPosted: Tue Jun 20, 2006 8:23 am    Post subject: Re: tcpserver strangeness on 64bit Opteron Reply with quote

Feizhou wrote:
Quote:
-v -H -P -R -l

and everything worked fine - funny how it doesn't cause a problem on the
other machines . .
Maybe the other machines have different dns settings? Are they identical?
It's probably IPv6 madness. If you've left it enabled (ifconfig eth0

will show you), then modern Linux boxes are forced to do the "AAA" DNS
lookups first "just in case" they get some IPv6 responses. These add
immeasurably to DNS slowest (I especially get burnt being down here in
New Zealand - where latency rules supreme).

Disable IPv6 via "echo alias net-pf-10 off >> /etc/modprobe.conf",
reboot, and see if those hangs have reduced in duration. Of course,
you'd now have to turn DNS lookups back ON in tcpserver in order to see
if I'm correct ;-)

--
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1
Back to top
Feizhou
*nix forums Guru Wannabe


Joined: 15 Mar 2005
Posts: 131

PostPosted: Mon Jun 19, 2006 2:03 pm    Post subject: Re: tcpserver strangeness on 64bit Opteron Reply with quote

Philip Rhoades wrote:
Quote:
Roman, Richard,


On Mon, 2006-06-19 at 12:42 +0400, Roman Levitskiy wrote:

I am using a fairly standard netqmail install on a variety of machines:
i386, vitual PPC on iSeries and AMD 64bit Opteron. The Opteron smtp is
behaving strangely - if I telnet to the server on port 25 and type
"HELO" it takes 1m45s to respond - this is slow enough for a Eudora send
but Outlook fails with a timeout!


Looks like DNS lookup timeout.
Correct your DNS settings or exclude DNS lookup in tcpserver as
described in it's documentation.



Yep, I changed tcpserver flags to:

-v -H -P -R -l

and everything worked fine - funny how it doesn't cause a problem on the
other machines . .

Maybe the other machines have different dns settings? Are they identical?

Quote:

FTR, it is RHEL4.

Nothing to do with RHEL4. The vm patch will not cause an over one minute
wait that can be simply fixed by a parameter to tcpserver.
Back to top
Philip Rhoades
*nix forums beginner


Joined: 07 Feb 2005
Posts: 9

PostPosted: Mon Jun 19, 2006 11:17 am    Post subject: Re: tcpserver strangeness on 64bit Opteron Reply with quote

Roman, Richard,


On Mon, 2006-06-19 at 12:42 +0400, Roman Levitskiy wrote:
Quote:
I am using a fairly standard netqmail install on a variety of machines:
i386, vitual PPC on iSeries and AMD 64bit Opteron. The Opteron smtp is
behaving strangely - if I telnet to the server on port 25 and type
"HELO" it takes 1m45s to respond - this is slow enough for a Eudora send
but Outlook fails with a timeout!


Looks like DNS lookup timeout.
Correct your DNS settings or exclude DNS lookup in tcpserver as
described in it's documentation.


Yep, I changed tcpserver flags to:

-v -H -P -R -l

and everything worked fine - funny how it doesn't cause a problem on the
other machines . .

FTR, it is RHEL4.

Many thanks,

Phil.
--
Philip Rhoades

Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
Mobile: +61:0411-185-652
Fax: +61:2:8923-5363
E-mail: phil@chu.com.au
Back to top
Richard Lyons
*nix forums Guru


Joined: 08 Mar 2005
Posts: 312

PostPosted: Mon Jun 19, 2006 9:15 am    Post subject: Re: tcpserver strangeness on 64bit Opteron Reply with quote

On Mon, 19 Jun 2006, Philip Rhoades wrote:

Quote:
I am using a fairly standard netqmail install on a variety of machines:
i386, vitual PPC on iSeries and AMD 64bit Opteron. The Opteron smtp is
behaving strangely - if I telnet to the server on port 25 and type
"HELO" it takes 1m45s to respond - this is slow enough for a Eudora send
but Outlook fails with a timeout!

Using gcc-3.4.x on an x86_64 architecture is known to generate bad code
(http://marc.theaimsgroup.com/?l=qmail&m=111725518121864&w=2,
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21804). I don't know if this
is your problem as you haven't indicated your OS or build environment, but
it should be easy enough to test - extract ucspi-tcp-0.88.tar.gz, do
"echo gcc > conf-cc ; make tcpserver" and perform your tests with the new
tcpserver.

Rick.
Back to top
Roman Levitskiy
*nix forums beginner


Joined: 08 Jul 2005
Posts: 32

PostPosted: Mon Jun 19, 2006 8:42 am    Post subject: Re: tcpserver strangeness on 64bit Opteron Reply with quote

Quote:
I am using a fairly standard netqmail install on a variety of machines:
i386, vitual PPC on iSeries and AMD 64bit Opteron. The Opteron smtp is
behaving strangely - if I telnet to the server on port 25 and type
"HELO" it takes 1m45s to respond - this is slow enough for a Eudora send
but Outlook fails with a timeout!


Looks like DNS lookup timeout.
Correct your DNS settings or exclude DNS lookup in tcpserver as
described in it's documentation.

--
Best, Roman.
Back to top
Philip Rhoades
*nix forums beginner


Joined: 07 Feb 2005
Posts: 9

PostPosted: Mon Jun 19, 2006 8:14 am    Post subject: tcpserver strangeness on 64bit Opteron Reply with quote

People,

I am using a fairly standard netqmail install on a variety of machines:
i386, vitual PPC on iSeries and AMD 64bit Opteron. The Opteron smtp is
behaving strangely - if I telnet to the server on port 25 and type
"HELO" it takes 1m45s to respond - this is slow enough for a Eudora send
but Outlook fails with a timeout!

When there is finally a response I see:

220 vic.chu.com.au ESMTP

in the Windows telnet app and:

@40000000449655790b4162c4 tcpserver: ok 21872 \
vic.chu.com.au:192.168.1.100:25 :192.168.1.58::4431

in /var/log/qmail/smtpd/current on the server.

I am using:

ucspi-tcp-0.88.tar.gz

that has in it:

10190 2000-03-19 02:18:42 ucspi-tcp-0.88/tcpserver.c

Should I be setting some 64bit switches in the compile or something?

Thanks,

Phil.
--
Philip Rhoades

Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
Mobile: +61:0411-185-652
Fax: +61:2:8923-5363
E-mail: phil@chu.com.au
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 9:08 pm | All times are GMT
navigation Forum index » Apps » Qmail
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts [deb-user] startup strangeness Chuckk Hubbard Debian 3 Mon Jul 17, 2006 3:00 am
No new posts Why would Suse, on opteron, miss 500 megs of RAM? wizzywiz hardware 6 Sun Jul 16, 2006 10:17 am
No new posts Detecting 64bit vs. 32bit Linux dwelch python 9 Fri Jul 07, 2006 6:03 pm
No new posts Sun Studio 10 gives compilation error on Solaris X86 (Opt... sundarms@gmail.com Solaris 1 Wed Jul 05, 2006 7:19 am
No new posts Tcpserver part 2 John Anderson Qmail 3 Tue Jun 20, 2006 2:19 am

0 Credit Cards | Remortgages | Credit Cards | Loans | Personal Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.6390s ][ Queries: 20 (0.5363s) ][ GZIP on - Debug on ]