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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-16-2011, 08:01 AM
|
#1
|
|
LQ Newbie
Registered: Nov 2010
Posts: 8
Rep:
|
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 ?
|
|
|
|
05-16-2011, 10:58 AM
|
#2
|
|
LQ Newbie
Registered: May 2011
Posts: 2
Rep:
|
Perhaps a routing issue. Post your routes from both servers (netstat -r should show them).
|
|
|
|
05-16-2011, 10:57 PM
|
#3
|
|
LQ Newbie
Registered: Nov 2010
Posts: 8
Original Poster
Rep:
|
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.
|
|
|
|
05-16-2011, 11:22 PM
|
#4
|
|
LQ Newbie
Registered: Nov 2010
Posts: 8
Original Poster
Rep:
|
btw: i run 'arp ' in server, it response very slow too
|
|
|
|
05-17-2011, 10:39 PM
|
#5
|
|
LQ Newbie
Registered: Nov 2010
Posts: 8
Original Poster
Rep:
|
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
|
|
|
|
05-18-2011, 12:08 AM
|
#6
|
|
LQ Newbie
Registered: May 2011
Posts: 2
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:18 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|