LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Jan Engelhardt <jengelh@linux01.gwdg.de>
To: Lawrence MacIntyre <macintyrelp@ornl.gov>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Hung Port
Date: Wed, 17 Jan 2007 17:56:58 +0100 (MET)	[thread overview]
Message-ID: <Pine.LNX.4.61.0701171756050.18562@yvahk01.tjqt.qr> (raw)
In-Reply-To: <45AE46AA.7030700@ornl.gov>


>Last week I had a port (TCP:52557) that was mysteriously unavailable on
>my ubuntu machine (running kernel 2.6.15-27-k7 #1 SMP PREEMPT).  If you
>tried to bind to it, it was unavailable.  However, nmap (both to
>localhost and from an external host) reported the port closed.  fuser,
>lsof, and netstat had no record of the port being used.

Did your application forgot to set SO_REUSEADDR?

>  Our firewall
>logs didn't show any unusual traffic to the machine.  Nor did they show
>any traffic at all to/from that port on the machine.  After checking
>everything I could think of, I rebooted it, and there were no ports that
>were unavailable in this way when it came back up.  This morning another
>hung port has appeared (TCP:43355).  My best guess is that this is an
>ephemeral port that has somehow gotten hung in the kernel somewhere.
>Has anyone seen anything like this and/or is there anything else I could
>look at to figure it out?

	-`J'
-- 

  reply	other threads:[~2007-01-17 16:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-17 15:54 Lawrence MacIntyre
2007-01-17 16:56 ` Jan Engelhardt [this message]
2007-01-17 17:39   ` Lawrence MacIntyre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.61.0701171756050.18562@yvahk01.tjqt.qr \
    --to=jengelh@linux01.gwdg.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=macintyrelp@ornl.gov \
    --subject='Re: Hung Port' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).