From owner-freebsd-net@FreeBSD.ORG Wed Jan 11 00:05:31 2012 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83DB91065670; Wed, 11 Jan 2012 00:05:31 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id D995C8FC18; Wed, 11 Jan 2012 00:05:30 +0000 (UTC) Received: by eekd49 with SMTP id d49so59444eek.13 for ; Tue, 10 Jan 2012 16:05:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=xmwjxX0tFjRn8O7ECuVQdr1nyRg9vUmZTlvbAQMDr6w=; b=XfRI3R5AkwSahOdcfpfM35IImAvwwdlK4q+jfD9c9KlxqSaO8lIj7c3Y0CXs0HMP4H 4YYMMWpcZDCCfhFFXwf11hgrdP0vr277vcopu/RF+pCcto9t8mg0mlZBYFBLQmrTQQeK oo6VbZbzEWEWmZiIk1eTJuBB9BpERahFKrgBA= Received: by 10.213.19.73 with SMTP id z9mr668134eba.41.1326238548606; Tue, 10 Jan 2012 15:35:48 -0800 (PST) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua. [212.86.226.226]) by mx.google.com with ESMTPS id a60sm310378713eeb.4.2012.01.10.15.35.46 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 10 Jan 2012 15:35:47 -0800 (PST) Sender: Alexander Motin Message-ID: <4F0CCB50.8020109@FreeBSD.org> Date: Wed, 11 Jan 2012 01:35:44 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111227 Thunderbird/9.0 MIME-Version: 1.0 To: lev@FreeBSD.org References: <1791250845.20120111030529@serebryakov.spb.ru> <108354307.20120111032108@serebryakov.spb.ru> In-Reply-To: <108354307.20120111032108@serebryakov.spb.ru> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 8bit Cc: FreeBSD current , net@freebsd.org Subject: Re: Very fresh (two days ago) 10-current becomes completely unresponsive under load X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2012 00:05:31 -0000 On 01/11/12 01:21, Lev Serebryakov wrote: > Hello, Lev. > You wrote 11 января 2012 г., 3:05:29: > >> OH! I have top running right now, when it "hangs". 0% idle time, LA >> becomes 20 when it have only 35 processes at all, but there is no specific >> process consuming CPU. > Ok, it seems, that here is a problem (CPU time : > > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU COMMAND > 12 root -16 - 0K 8K sleep 18:35 30.18% ng_queue > > And after that 5 minutes without updates, than normal numbers. It > seems, that root of problem is: > > (a) netgraph in this version of kernel > OR > (b) new mpd 5.6 (previous version had 5.5). I remember no changes in mpd-5.6 that I would expect to cause this. Any way it should be trivial to check -- just build 5.5. What do you have configured in mpd configuration and netgraph at all? AFAIR for plain PPPoE it is not very typical to use ng_queue at all as it doesn't requires stack unwrapping and at least few years ago stack size was sufficient to run all processing in one pass. -- Alexander Motin