Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Andreas Johansson <ajo@wopr.campus.luth.se>
Subject: Re: netstat sluggishness
Date: Sat, 31 May 1997 14:39:27 +0200 (CEST)	[thread overview]
Message-ID: <00843e17a4f42dac2e03bc5333269870.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.LNX.3.95.970530215727.741A-100000@chomper.int.chapwin.com>

On Fri, 30 May 1997, Rick Windham wrote:

> Hello,
> 	I've noticed that at certian times (unknown why) netstat will
> print headers and then hang.  Sometimes after a very long time the output
> will come.  This is also accompanied by the standard slew of unaligned
> traps that netstat creates.  This also occurs on ipfwadm -Mlex.  I tried
> to cat the respective /proc/net files and I got the raw output instantly.
> 	Anyone have any ideas?  Esp. now that I'm masquerading I NEED this
> output to check the usage from the internet net.

I haven't seen this problem myself, but the default operation of netstat
is to lookup the name of the ip addresses it is printing. If there is any
trouble with the name server, this may take some time. It depends very 
much if the looked up values are in any nameserver caches. If the
nameserver is even unable to lookup the name, it will certainly take
some time. This name lookup can be overridden with the -n flag. I don't
know if this is your problem, but you can atleast try it in a simple way.

ipfwadm has the same flag (-n) to disable name lookup.

/Andreas

--

<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
: E-mail: ajo@wopr.campus.luth.se                                       :
: S-mail: Andreas Johansson, Karhusvagen 5  6:618, 977 54 Lulea, SWEDEN :
:     Have you had your dose of 261.62 BogoMIPS today? - Run Alpha!     :
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1997-05-31 12:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.3.95.970530215727.741A-100000@chomper.int.chapwin.com>
1997-05-31 12:39 ` Andreas Johansson [this message]
1997-05-31 20:27 ` netstat sluggishness Michael Tibor
     [not found] <Pine.LNX.3.96.970531130611.14319G-100000@asimov.lib.uaa.alaska.edu>
1997-05-31 21:21 ` Ximenes
1997-05-31 21:28 ` Philip Blundell
     [not found] <Pine.SOL.3.96.970531213318.19039Z-100000@hammer.thor.cam.ac.uk>
1997-05-31 21:08 ` Michael Tibor
     [not found] <Pine.LNX.3.96.970531122446.14319B-100000@asimov.lib.uaa.alaska.edu>
1997-05-31 20:33 ` Philip Blundell
1997-05-31  2:59 Rick Windham
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox