From owner-freebsd-questions@FreeBSD.ORG Sat Feb 24 14:53:56 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B9B9A16A404 for ; Sat, 24 Feb 2007 14:53:56 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.228]) by mx1.freebsd.org (Postfix) with ESMTP id 78A7A13C4BB for ; Sat, 24 Feb 2007 14:53:56 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so750306wxc for ; Sat, 24 Feb 2007 06:53:56 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nlttistV3c8Ab2Ys7E3yVMiY2NWZ/AETeODUuH0VNrCEgixdCxPk/bbsDLIsPz+YWTbbOWrpHr5P308oztQz99cRMmD6R+8Ruu1nVFJa0BcK7bm/yY2jhm0v3frfSDiviw6eIuSs3rg94TT42EnMu9KDcCBUa0MCsmbeWBX4+Z0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=P4hriEzd3QR5zGQ0/kKmj4USeWHMBcT7yyfy768pFLBb3hhYrooaenTd/2sXH9YP9Rc1sLttj67rKjqjfu/uB3kHOyqcaXTOnnUqayPf8XmYp/mbFkKg6s8UvqGIwsthJ2a7SfACmFMHP+VTJWl+uwUSoIXZLzGeeaHB44IvMT4= Received: by 10.70.29.14 with SMTP id c14mr5553138wxc.1172328836136; Sat, 24 Feb 2007 06:53:56 -0800 (PST) Received: by 10.70.39.18 with HTTP; Sat, 24 Feb 2007 06:53:55 -0800 (PST) Message-ID: <14989d6e0702240653o60b2a7b5o57dab000dd70e7b4@mail.gmail.com> Date: Sat, 24 Feb 2007 15:53:55 +0100 From: "Christian Walther" To: "Grant Peel" In-Reply-To: <001301c7581a$e19179f0$6501a8c0@GRANT> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <001301c7581a$e19179f0$6501a8c0@GRANT> Cc: freebsd-questions@freebsd.org Subject: Re: FIN_WAIT_2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2007 14:53:56 -0000 On 24/02/07, Grant Peel wrote: > Hi all, > > Just wondering if anyone has found / knows of a way to kill sockets that are stuck in FIN_WIAT_2 state - without rebooting the server. > > When I kill the processes (in this case the pop3 server) that allows the connection, it still takes about 3 hours for the socket to time out and die. What is your problem with sockets being in this state? Normaly they don't consume any resources that would lead to performance problems. As you say, they die eventually. Sockets in this state are no problem, it's just that the client failed to sent the last ACK to the server, which would finally close the communication.