From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@9fans.net Date: Thu, 12 Aug 2010 14:12:25 +0200 From: cinap_lenrek@gmx.de In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-cixuifzcenmubxdsdlsepdgrxv" Subject: Re: [9fans] TCP port hung up Topicbox-Message-UUID: 46f10d2c-ead6-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-cixuifzcenmubxdsdlsepdgrxv Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit i'm not sure if you really killed all instances of aquarela. can you grep -n /net/tcp/31 /proc/*/fd to see who is still using that filedescriptor. -- cinap --upas-cixuifzcenmubxdsdlsepdgrxv Content-Type: message/rfc822 Content-Disposition: inline Return-Path: <9fans-bounces+cinap_lenrek=gmx.de@9fans.net> Delivered-To: GMX delivery to cinap_lenrek@gmx.de Received: (qmail invoked by alias); 12 Aug 2010 01:41:34 -0000 Received: from gouda.swtch.com (EHLO gouda.swtch.com) [67.207.142.3] by mx0.gmx.net (mx086) with SMTP; 12 Aug 2010 03:41:34 +0200 Received: from localhost ([127.0.0.1] helo=gouda.swtch.com) by gouda.swtch.com with esmtp (Exim 4.69) (envelope-from <9fans-bounces@9fans.net>) id 1OjMhE-0005Hm-AM; Thu, 12 Aug 2010 01:35:04 +0000 Received: from mail-wy0-f177.google.com ([74.125.82.177]) by gouda.swtch.com with esmtp (Exim 4.69) (envelope-from ) id 1OjMhB-0005Hh-9f for 9fans@9fans.net; Thu, 12 Aug 2010 01:35:01 +0000 Received: by wyb34 with SMTP id 34so964153wyb.36 for <9fans@9fans.net>; Wed, 11 Aug 2010 18:34:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=WMLtmEym8P2rtQVFN58vsQkD4eprPrlA2zFIXunzlNw=; b=qAh5hfilUb9d9le9tf3fcxOTGD8dFMxxdg3PkagP5hAgudDiWtOcwSzl0l9POCEc6D rJiOzpB7o/PPvU3+a+RAkMJoDpegvdC1H4XpLBTqNVleqld4QyHgGfsnMnIylULsQleC TiShHKZ7w7WwK4RmK0laGxolDovgR4hT9MaiI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=A1MdMk3OWA4MLyIIcPnUfim+TYq5S+E0Xha4GZ4aLutD1Az45ENjOBwzq70qFWgDWW PpYfagPLXBeZHiX6MxC9Ansa+9Qde3VSo43Qd87GCuRAfe2RhOMr0RCT29ub0kJh5zRy HyGXFV/K6VltHgAauYgMckp1Ciw0OFlCKCFTs= MIME-Version: 1.0 Received: by 10.216.68.81 with SMTP id k59mr4248038wed.33.1281576886215; Wed, 11 Aug 2010 18:34:46 -0700 (PDT) Received: by 10.216.138.155 with HTTP; Wed, 11 Aug 2010 18:34:46 -0700 (PDT) Date: Wed, 11 Aug 2010 18:34:46 -0700 X-Google-Sender-Auth: tKCCFQrweHgUkIL5UFJc_YhT2Nc Message-ID: From: Akshat Kumar To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: [9fans] TCP port hung up X-BeenThere: 9fans@9fans.net X-Mailman-Version: 2.1.10 Precedence: list Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.9fans.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces@9fans.net Errors-To: 9fans-bounces+cinap_lenrek=gmx.de@9fans.net X-GMX-Antivirus: 0 (no virus found) X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p4U4jfdfC5HDevlx1X2sAZgP9e9F2VTUYI/FLDAh5vXTVin+wznIYULO4W8f iu4UIHVeutAdNYNyhIIRpjhB4NMqCt7OvFNAZ1Wfx4FZJc627ijqKNPBMry42D3C0vBPyK5et6Ko fYsJQ==V1; I halted aquarela(1) with a ^D sequence, and made sure all processes were gone. ps(1) lists no processes on the server that could possibly be using port 445 (the port aquarela listens on for the CIFS service). And yet, netstat -n showed that TCP port 445 was still in LISTEN state. Naturally, I ran echo hangup > /net/tcp/31/ctl to relinquish the port. Now it's in CLOSED state: tcp 31 bootes Closed 445 0 :: but the port is still unusable (pre-occupied - aquarela(1) is not able to open it). Short of rebooting the CPU server, is there some way to regain port 445? Quite the annoying bug... Thanks, ak --upas-cixuifzcenmubxdsdlsepdgrxv--