From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 3 20:54:38 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 568C5D35; Thu, 3 Apr 2014 20:54:38 +0000 (UTC) Received: from mail.tdx.com (mail.tdx.com [62.13.128.18]) by mx1.freebsd.org (Postfix) with ESMTP id F032AD81; Thu, 3 Apr 2014 20:54:37 +0000 (UTC) Received: from study64.tdx.co.uk (study64.tdx.co.uk [62.13.130.231]) (authenticated bits=0) by mail.tdx.com (8.14.3/8.14.3/) with ESMTP id s33KsZhu055895 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Apr 2014 21:54:36 +0100 (BST) Date: Thu, 03 Apr 2014 21:54:35 +0100 From: Karl Pielorz To: John Baldwin Subject: Re: Stuck CLOSED sockets / sshd / zombies... Message-ID: <18B08A7E8585B0C4A89A05E6@study64.tdx.co.uk> In-Reply-To: <201404031614.40951.jhb@freebsd.org> References: <3FE645E9723756F22EF901AE@Mail-PC.tdx.co.uk> <201404031232.16465.jhb@freebsd.org> <4B53DEF2407E2EC90A8DDF9D@study64.tdx.co.uk> <201404031614.40951.jhb@freebsd.org> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2014 20:54:38 -0000 --On 3 April 2014 16:14:40 -0400 John Baldwin wrote: > That's really odd. A single threaded program has no business even trying > to grab a lock. Is your sshd even linked against libthr via ldd? Bearing in mind this system was installed as 10.0-R, 10.0-STABLE checked out via SVN, and the world built from that... Looking at sshd with ldd gives: " # ldd /usr/sbin/sshd /usr/sbin/sshd: ... libthr.so.3 => /lib/libthr.so.3 (0x8038d7000) " So I'm guessing that's a yes? -Karl