LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-16-2011, 08:01 AM   #1
jeff14
LQ Newbie
 
Registered: Nov 2010
Posts: 8

Rep: Reputation: 0
Question connect to postfix very slow


recently i connect to my postfix server become very slowly,
eg: my ip address is 10.1.1.1, and the postfix server's ip is 172.16.1.1,
i type ' telnet 172.16.1.1 25' and wait for more than 15 seconds to get the response from the postfix server, this is the log of postfix:
May 13 18:28:25 serv01 postfix/smtpd[15625]: connection established
May 13 18:28:25 serv01 postfix/smtpd[15625]: master_notify: status 0
May 13 18:28:25 serv01 postfix/smtpd[15625]: name_mask: resource
May 13 18:28:25 serv01 postfix/smtpd[15625]: name_mask: software
May 13 18:28:37 serv01 postfix/smtpd[15625]: connect from unknown[10.1.1.1] ####### here , nothing happen ,but consuming 12 seconds!!!
May 13 18:28:37 serv01 postfix/smtpd[15625]: match_list_match: unknown: no match
May 13 18:28:37 serv01 postfix/smtpd[15625]: match_list_match: 10.1.1.1: no match
May 13 18:28:37 serv01 postfix/smtpd[15625]: match_list_match: unknown: no match
May 13 18:28:37 serv01 postfix/smtpd[15625]: match_list_match: 121.8.17.183: no match
May 13 18:28:37 serv01 postfix/smtpd[15625]: match_hostname: unknown ~? 127.0.0.0/8
May 13 18:28:37 serv01 postfix/smtpd[15625]: match_hostaddr: 10.1.1.1 ~? 127.0.0.0/8

strangely , i try to telnet my server for several times , every time it take 12 seconds to connect.
can any guys tell me please, why it consumed 12 seconds ,and what happen ?
 
Old 05-16-2011, 10:58 AM   #2
RayRobert
LQ Newbie
 
Registered: May 2011
Posts: 2

Rep: Reputation: 0
Perhaps a routing issue. Post your routes from both servers (netstat -r should show them).
 
Old 05-16-2011, 10:57 PM   #3
jeff14
LQ Newbie
 
Registered: Nov 2010
Posts: 8

Original Poster
Rep: Reputation: 0
client:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.1.1.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 10.1.1.254 0.0.0.0 UG 0 0 0 eth0

server:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
172.16.1.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 172.16.1.1 0.0.0.0 UG 0 0 0 eth0

when i run 'netstat -r ' in server, it display the line '169.254.0.0 ....', then stop about 15 secondes, finally display the line 'default ......'

but when i run 'netstat -nr', it response very fast

Last edited by jeff14; 05-16-2011 at 11:10 PM.
 
Old 05-16-2011, 11:22 PM   #4
jeff14
LQ Newbie
 
Registered: Nov 2010
Posts: 8

Original Poster
Rep: Reputation: 0
btw: i run 'arp ' in server, it response very slow too
 
Old 05-17-2011, 10:39 PM   #5
jeff14
LQ Newbie
 
Registered: Nov 2010
Posts: 8

Original Poster
Rep: Reputation: 0
hi, i think i got the key, one of the dns server was down, so it take a long time to resolve the name, thanks for reply me
 
Old 05-18-2011, 12:08 AM   #6
RayRobert
LQ Newbie
 
Registered: May 2011
Posts: 2

Rep: Reputation: 0
Yes, if the first DNS server a system checks is down then it goes on to the 2nd one. But it's a lengthy delay as you've observed.

Arp, which another poster mentioned, is only used for discovery in the local sub-net. That's not the situation here.
 
  


Reply

Tags
postfix



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix really slow davidb2002 Linux - Software 3 11-20-2007 06:50 AM
Postfix: slow transport? Chowroc Linux - Networking 0 02-04-2006 02:49 AM
fc2 postfix/pop mailserver slow login collen Red Hat 0 12-29-2004 10:38 AM
mailserver very slow, postfix problem? PocaHontas Linux - Software 2 10-05-2004 09:08 PM
help with slow postfix graystarr Linux - Software 16 04-16-2003 03:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration