Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4702470imu; Tue, 15 Jan 2019 04:40:39 -0800 (PST) X-Google-Smtp-Source: ALg8bN6S8WZXYreYa+CGctBVkYR1Jb/itrA7LCD3NjY6k83s3OztpVAU3vQVrARQunLvTM97/Tsn X-Received: by 2002:a63:c051:: with SMTP id z17mr3670050pgi.20.1547556039628; Tue, 15 Jan 2019 04:40:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547556039; cv=none; d=google.com; s=arc-20160816; b=bhjKCamawr3IDCuQNgtaaqJ3LNEhh38nF5kEGXZ6lmDixKo0PThtnQO8cL1sbKg5db uZx8WUjWmmvU/VEy7Er9sJcXDnchu2EhAMTMN9KufzQf+2A/PVXfzksaXA5yJc+xbADh FnQkATpsgZH4gqrKry1iGun7PAAnT6uy78E3SMatiFic/doBpJ3WKvTOWBShdtN8jtBz Jg3wKFStp/itfxAnprAszb5E28u+4nXfpiR8OnGqYR5FWsixjFTuVVsrz8feTyjgFPH1 4jBhzQ7KEhl8+n/4X6fky1LxksIcIn18siNq5OMYwzcpP/6m7bDLovazPp7XtzgtsQLs f/YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=caiooyXsw5X/DYtIavsXKurfDm0l2/3szgvNoBs0Ulo=; b=IJ7t3ORD91whktWfuavk62KY8plQO8z4aT1Yi210hbN7+fFhSiuq3AKmBroQmSBpRi BDW/12flb2wzeJvUzsriftk26oEhqrRsYfR61h1NZySkbb9WUOdOFM5nN/OIhpWuVY+z 6KOf6TA435McbS669H6QjR2jxmdj2iazRhkfIxiTjJ/OWAXG7hn7+q5sibfRpM84AoOG or4BC/Py+rnbUouoiLbR2HbTuvh+EmmvBGKw1TgsuYauKyLzE0nm940Jlu6MP9BBZVF1 JptSWKIa2bbv6g230wJm4poM8AJCv5Jt/2N11ooXEy/mH/i6MzhmsdHEXcjrGXV7ICFS QOjA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t4si3224494pfj.183.2019.01.15.04.40.21; Tue, 15 Jan 2019 04:40:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728431AbfAOLwJ convert rfc822-to-8bit (ORCPT + 99 others); Tue, 15 Jan 2019 06:52:09 -0500 Received: from mondschein.lichtvoll.de ([194.150.191.11]:35131 "EHLO mail.lichtvoll.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728227AbfAOLwJ (ORCPT ); Tue, 15 Jan 2019 06:52:09 -0500 Authentication-Results: auth=pass smtp.auth=martin smtp.mailfrom=martin@lichtvoll.de Received: from 127.0.0.1 (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.lichtvoll.de (Postfix) with ESMTPSA id B6E43437F7B; Tue, 15 Jan 2019 12:52:06 +0100 (CET) From: Martin Steigerwald To: Florian Westphal Cc: Michal Kubecek , netfilter-devel@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [REGRESSION] 5.0-rc2: iptables -nvL consumes 100% of CPU and hogs memory with kernel 5.0-rc2 Date: Tue, 15 Jan 2019 12:52:06 +0100 Message-ID: <1716489.K3OScS4TjR@merkaba> In-Reply-To: <20190115101519.pf7ogpvdz22wku7g@breakpoint.cc> References: <1608957.xtEoauR4Ya@merkaba> <20190115101006.GE26670@unicorn.suse.cz> <20190115101519.pf7ogpvdz22wku7g@breakpoint.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Florian Westphal - 15.01.19, 11:15: > Michal Kubecek wrote: > > > I upgraded to self-compiled 5.0-rc2 today and found the machine to > > > be slow after startup. I saw iptables consuming 100% CPU, it only > > > responded to SIGKILL. It got restarted several times, probably by > > > some systemd service. > > > > > > Then I started 'iptables -nvL' manually. And I got this: > > > > > > % strace -p 5748 > > > [… tons more, in what appeared an endless loop …] > > This is fixed by: > > http://patchwork.ozlabs.org/patch/1024772/ > ("netfilter: nf_tables: Fix for endless loop when dumping ruleset"). Thanks, Florian. Will wait for first 5.0-rcx with x=>2 that contains the fix. Bug closed on Debian side already, was premature to report it there. Ciao, -- Martin