Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4573182imu; Tue, 15 Jan 2019 02:18:24 -0800 (PST) X-Google-Smtp-Source: ALg8bN7uLJoGQm+UCjlFLBnGdMRGB7DNMz1w3X9xBqy48C7zet5qbnBzX8N0ajevdastp/OwN4oK X-Received: by 2002:a65:6491:: with SMTP id e17mr3139024pgv.418.1547547504752; Tue, 15 Jan 2019 02:18:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547547504; cv=none; d=google.com; s=arc-20160816; b=BD3Aq5YgzqkZcIPSp8GWFXC3AUdF0gDpwKcdR4oAn5Be3ug20FkPjlgQaiYhWXWWag EH8ANSUWuropasnb75JkfyOiIbMMNDd1AGoTluJgkIsEHYnPOtqfuxy7XNWxb7CakWSz ZEhkoWIpFXK438IdfFh2NGI/j4A3tbubraHxcnzSF9No07ybjo4fcBlTZnyd3V9BI/EF nR3feXbtBcZ/ICv6ShZP+ZCQbD+3BnspecQh5Go8/mOUr59VnRPJQ18dkDe1tSr9rb/T Zfd9zlwVTyfA85p/KphQhoHKYaQt6k/JNeryF3iVec3yxLMrGOcogiT8ofyf/0zCEuF1 DIdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=4E6S4vzS3NFdJ87HehqBwotiDTE4valEH8faRm6mzVU=; b=HneG4rGU8ZUJMLmdNzOtFy/CsA55rFtymwdOuscy37PCjkEYnlFwDE14To/xh4YihR xlF5502DTBoTOv1Nm/717OVpY88zgA+jXhvv05LWuJ3xAVJ9kozz49hx2fqFs40wcF5d zN6+hT80bK2xmxUfHkv9zpS49TJCkvFoSFbywZWf4IwxSKLHbsA6jWJlM+EmEEIe9/q9 qYR1B01Cd600P+ibd9aYQR/l8KhH1AxL1OLrjptmGckpxVmx61JXfZ4YoVHz0BnxvTjH l0Xqr2MzAk8zecdOIvsWbvpJB4lrydRI6sa4q4x2ToTwXOMRBnlXkSGTBsyhsM+YiSJK 2Cvw== 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 j191si2817267pgd.31.2019.01.15.02.18.09; Tue, 15 Jan 2019 02:18:24 -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 S1728649AbfAOKPW (ORCPT + 99 others); Tue, 15 Jan 2019 05:15:22 -0500 Received: from Chamillionaire.breakpoint.cc ([146.0.238.67]:43432 "EHLO Chamillionaire.breakpoint.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727238AbfAOKPV (ORCPT ); Tue, 15 Jan 2019 05:15:21 -0500 Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.89) (envelope-from ) id 1gjLkd-0003XZ-1h; Tue, 15 Jan 2019 11:15:19 +0100 Date: Tue, 15 Jan 2019 11:15:19 +0100 From: Florian Westphal To: Michal Kubecek Cc: netfilter-devel@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Martin Steigerwald Subject: Re: [REGRESSION] 5.0-rc2: iptables -nvL consumes 100% of CPU and hogs memory with kernel 5.0-rc2 Message-ID: <20190115101519.pf7ogpvdz22wku7g@breakpoint.cc> References: <1608957.xtEoauR4Ya@merkaba> <20190115101006.GE26670@unicorn.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190115101006.GE26670@unicorn.suse.cz> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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").