From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josef Bacik Subject: Re: Soft lockup in inet_put_port on 4.6 Date: Mon, 12 Dec 2016 13:05:29 -0500 Message-ID: <1481565929.24490.0@smtp.office365.com> References: <1481231024.1911284.813071977.72AF4DEE@webmail.messagingengine.com> <1481233016.11849.1@smtp.office365.com> <1481243432.4930.145.camel@edumazet-glaptop3.roam.corp.google.com> <6C6EE0ED-7E78-4866-8AAF-D75FD4719EF3@fb.com> <1481335192.3663.0@smtp.office365.com> <1481341624.4930.204.camel@edumazet-glaptop3.roam.corp.google.com> <1481343298.4930.208.camel@edumazet-glaptop3.roam.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Cc: Hannes Frederic Sowa , Tom Herbert , Linux Kernel Network Developers To: Eric Dumazet Return-path: Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:58959 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752228AbcLLSFl (ORCPT ); Mon, 12 Dec 2016 13:05:41 -0500 In-Reply-To: <1481343298.4930.208.camel@edumazet-glaptop3.roam.corp.google.com> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Dec 9, 2016 at 11:14 PM, Eric Dumazet wrote: > On Fri, 2016-12-09 at 19:47 -0800, Eric Dumazet wrote: > >> >> Hmm... Is your ephemeral port range includes the port your load >> balancing app is using ? > > I suspect that you might have processes doing bind( port = 0) that are > trapped into the bind_conflict() scan ? > > With 100,000 + timewaits there, this possibly hurts. > > Can you try the following loop breaker ? It doesn't appear that the app is doing bind(port = 0) during normal operation. I tested this patch and it made no difference. I'm going to test simply restarting the app without changing to the SO_REUSEPORT option. Thanks, Josef