From owner-freebsd-hackers@freebsd.org Fri Dec 11 17:24:04 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6869B9D8FF7 for ; Fri, 11 Dec 2015 17:24:04 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2FBE413DD for ; Fri, 11 Dec 2015 17:24:04 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: by pacwq6 with SMTP id wq6so68224315pac.1 for ; Fri, 11 Dec 2015 09:24:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=tiNwjyNwXGvCJBkafqYYy2yKtYDCF1QZylZKvAedyuo=; b=nklTg3bSFAcNlbgVmvDWtTg9WHDEHAVInR8Wufdk9Z2K2Je9enuIQj75gD5qtg5x3Z XB3r1Oqf9/vNF8jDUqTFIfogrqG492sl8UT1jvvljeLC51ppawUQAk2yrhpw8MgihhSx onz6kILs64utuAqQV6ptxvpvyeG7lja4rjvXsBarXzZ8lSfxVlsnL8csgjfg3uEYsWwJ eDDbW+io20LHZEDRVTUQOTar63V1ryp7kDoSjwn2tIqD+s+EGwors8VeIxUICJh8gzzW cVWrCZBZYtOzlk4K+gvmQqD4CWJBKt4OlFQAyT8PSuHvlqDYyo5XGD/NCGqvfUlYoE5S C22w== X-Received: by 10.67.2.73 with SMTP id bm9mr26679186pad.94.1449854643384; Fri, 11 Dec 2015 09:24:03 -0800 (PST) Received: from [10.192.166.0] (stargate.chelsio.com. [12.32.117.8]) by smtp.googlemail.com with ESMTPSA id i70sm2338198pfj.32.2015.12.11.09.24.01 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 Dec 2015 09:24:02 -0800 (PST) Sender: Navdeep Parhar Subject: Re: sonewconn issue? To: Steve Kargl , freebsd-hackers@freebsd.org References: <20151211160354.GA1005@troutmask.apl.washington.edu> From: Navdeep Parhar Message-ID: <566B06B0.5060809@FreeBSD.org> Date: Fri, 11 Dec 2015 09:24:00 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20151211160354.GA1005@troutmask.apl.washington.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Dec 2015 17:24:04 -0000 On 12/11/2015 08:03, Steve Kargl wrote: > Last night my system became wedged. Inspection of/var/log/messages > revealed 290 messages of the form > > Dec 10 19:27:49 troutmask kernel: sonewconn: pcb 0xfffff8000a76c4b0: > Listen queue overflow: 16 already in queue awaiting > acceptance (1 occurrences) > Dec 10 19:28:55 troutmask kernel: sonewconn: pcb 0xfffff8000a76c4b0: > Listen queue overflow: 16 already in queue awaiting > acceptance (9 occurrences) > Dec 10 19:37:40 troutmask kernel: sonewconn: pcb 0xfffff8000a76c4b0: > Listen queue overflow: 16 already in queue awaiting > acceptance (27 occurrences) > > ... > > Dec 11 07:40:46 troutmask kernel: sonewconn: pcb 0xfffff8000a76c4b0: > Listen queue overflow: 16 already in queue awaiting > acceptance (1 occurrences) > > During this time, I could connect to the webserver on the system. > ssh into the box would connect, but I never got an actaul session. > This morning I found the console unresponse. > > Any suggestions for identifying the rogue process? > Try "netstat -aLnp tcp" and look at the "Listen" column to see which sockets are backlogged. Then "sockstat -4l" to identify the process that owns the socket. Regards, Navdeep