From owner-freebsd-stable@FreeBSD.ORG Thu Jan 9 11:50:05 2014 Return-Path: Delivered-To: freebsd-stable@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 414A9EB7 for ; Thu, 9 Jan 2014 11:50:05 +0000 (UTC) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BDA1C1B5E for ; Thu, 9 Jan 2014 11:50:04 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.7/8.14.7) with ESMTP id s09Bo2l4092909 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 9 Jan 2014 15:50:02 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.7/8.14.7/Submit) id s09Bo2U8092908; Thu, 9 Jan 2014 15:50:02 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Thu, 9 Jan 2014 15:50:02 +0400 From: Gleb Smirnoff To: Cedric Tabary Subject: Re: possible netgraph regression on freebsd 10.0-RC3 Message-ID: <20140109115002.GV71033@FreeBSD.org> References: <20140102112714.GB16947@spike.grumly.eu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140102112714.GB16947@spike.grumly.eu.org> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jan 2014 11:50:05 -0000 On Thu, Jan 02, 2014 at 12:27:14PM +0100, Cedric Tabary wrote: C> Hello, C> C> I upgraded several FreeBSD servers from 9.2-STABLE to 10.0-RC3 and I C> now have strange behavior of mpd-5.7. C> C> Symptoms : C> - mpd stops accepting connections (PPTP VPN), and stops accepting control C> connectiosn also (on telnet and http). C> - The only way to kill mpd is a SIGKILL C> - after killing mpd, all ng interfaces are still up and forwarding C> trafic C> - the only way to revert to normal operation is a server power-cycle, C> software reboot just freeze the kernel. C> C> dmesg shows a lot of : C> sonewconn: pcb 0xfffff80006f61930: Listen queue overflow: 4 already in C> queue awaiting acceptance C> however I can't find pcb 0xfffff80006f61930 in netstat and there is no C> flood, did I miss something ? C> C> netstat -naA shows pptp control connections with non null Recv-Q C> netstat -naA shows netgraph control sockets with non null Send-Q C> In normal operation conditions, all Send-Q/Recv-Q are 0 on all those C> control sockets. C> C> Attached : C> - dmesg C> - netstat -naA (anonymized) C> - lsof -n (anonymized) C> C> FreeBSD xxx 10.0-RC3 FreeBSD 10.0-RC3 #0 r259778: Mon Dec 23 C> 23:27:58 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC C> amd64 C> C> All this is reproduced once every 2-3 days on 4 different servers. We've had a fix in ng_ksocket after 10.0-RC3, but the symptoms of that problem were somewhat different. However, it is worth updating. -- Totus tuus, Glebius.