- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- ping slow to "start" when contacting a Unix server...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2008 01:09 PM
05-15-2008 01:09 PM
ping slow to "start" when contacting a Unix server from Linux (SuSE)
As another data point - it happens whether or not I have iptables rules turned on or flushed free on my client SuSE workstation, so it's not a *firewall* time out/retry delay for dns or anything like that (which was my first thought).
OK.... I'm pretty sure I could fix this by adding my host name to the hosts file on each server, or to dns maybe. But why? I don't remember having to do this before for the ping command, but I remember having to do this for ssh, or in the old days - telnet.
Can anyone tell me why this is happening on my Unix servers? Easy fix in nsswitch.conf, resolv.conf maybe?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2008 08:17 PM
05-15-2008 08:17 PM
Re: ping slow to "start" when contacting a Unix server from Linux (SuSE)
> obviously wanting to reverse lookup my
> address before it processes the ping
> request.
What target server? Unlike some highly
sophisticated protocols, say, FTP and Telnet,
"echo" is normally handled internally to the
inetd. ("cat /etc/xinetd.d/echo".) My
opinion is no guarantee, but I'd expect it to
be pretty simple/stupid, and to have no
interest whatsoever in your name.
Your "ping" program may do a reverse look-up
(or something else pointless) on something,
which may be slow for some reason. Does
something like "strace" tell you what it's
doing when it pauses?
If you're worried about DNS sloth, you could
run some tests using nslookup (for names and
numbers, at each end), to see what doesn't
work well. Knowing what doesn't work can
make guessing a solution easier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2008 10:50 PM
05-17-2008 10:50 PM
Re: ping slow to "start" when contacting a Unix server from Linux (SuSE)
I've no idea why this is happening, but you could use a network sniffer to try and figure it out.
Wireshark (Ethereal) or tcpdump will probably be quite enlightening.
You might also want to let us know what version of Suse you're using...
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2008 08:09 AM
05-19-2008 08:09 AM
Re: ping slow to "start" when contacting a Unix server from Linux (SuSE)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2008 11:54 PM
06-01-2008 11:54 PM
Re: ping slow to "start" when contacting a Unix server from Linux (SuSE)
On the man for ping in SLES10, there's no flag to explicitly ask for name resolution of targets, but maybe that changed on newer versions. Check for bash aliases that modify the default ping command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2008 05:09 AM
06-02-2008 05:09 AM
Re: ping slow to "start" when contacting a Unix server from Linux (SuSE)
Steven referred to TCP/UDP "echo" service, which is normally provided by (x)inetd. It is not at all related to the "ping" command.
The normal ping command uses ICMP Echo-Request ("ping") and ICMP Echo-Reply ("pong") packets, which are normally handled at the kernel level.
MK