Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1462855yba; Wed, 24 Apr 2019 23:33:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZtFct4BHeA8Gcu7ln5FX/W9ikGokaI71WwafI9JwOFgOSSEvjaNVMfMvTAJZI/9+u6D4S X-Received: by 2002:a17:902:e110:: with SMTP id cc16mr36487796plb.147.1556174022847; Wed, 24 Apr 2019 23:33:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556174022; cv=none; d=google.com; s=arc-20160816; b=KQZGEt0gDQDo+yaNs56/T25NWX9gQg9eIsO9qwWiskxrgEIv4k0ee1vfCNXtzUs25U G5m9ghJsgC2voV27VHLm3paYkk0+HdLQLF1Rb1wtHOwkzWlOBa7VShTCqG0bhGquxMOS gwW7OagcA+2csFHSOeWXbMTge0FAlwFhXj4TYTPOCtHxM96iqdtRZjFVSt0VJCpV6MYR 7OhS+sQPmqmSb9qCExsv2q9/Kl8NbJdUlqSwxWFC+3SFlFn1+NPcqfR6a5Bf/kISv3Y6 MIAxo6U/zXTEQuH1oGwsz/6sATD+evKg474v8bpA5D9nQOKy0LUfAc5t3K99fodCULCy PqpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=CAczHo48Xtzfi5Tcz5+vmftopXZqYVz4yc+bp7lnoxc=; b=DM6HtF1XSFFvWCHKtCza2EurKuNmWs7tN9k0tkQbAy78K+OtOsmavE8PYLDmirrO11 bsNFCtIXTHdpfUuI5AtjIMY/HN1SOZ3Cs0/DJ+wpx1UqwCNhSm0eJYNhG7C2/83JU/gX /TPuTO8aLYF9svXtTwRokaK8l545AjNFYNJ6oRJ1Qt2UcbAdSMkgtJxwMYatzLAAsOTF yyibN97Gw5dC3g7Ww3riifsIOFP+8+XQ+WR0u4N6BppDeN6bDbzpoL5VR7qsBzp7di1u 2NCH4NX5Y41BRdYwSDkC9ZEhZ6B70UeHhNw51A1mQKVOrw+xdVQ6OzvQk+4OmF7+3K4w STxg== 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 y6si21267553plp.201.2019.04.24.23.33.27; Wed, 24 Apr 2019 23:33:42 -0700 (PDT) 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 S2389417AbfDXTjE (ORCPT + 99 others); Wed, 24 Apr 2019 15:39:04 -0400 Received: from dcvr.yhbt.net ([64.71.152.64]:45210 "EHLO dcvr.yhbt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725935AbfDXTjE (ORCPT ); Wed, 24 Apr 2019 15:39:04 -0400 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id A08911F453; Wed, 24 Apr 2019 19:39:03 +0000 (UTC) Date: Wed, 24 Apr 2019 19:39:03 +0000 From: Eric Wong To: Davidlohr Bueso Cc: linux-kernel@vger.kernel.org, Omar Kilani Subject: Re: Strange issues with epoll since 5.0 Message-ID: <20190424193903.swlfmfuo6cqnpkwa@dcvr> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Omar Kilani wrote: > Hi there, > > I’m still trying to piece together a reproducible test that triggers > this, but I wanted to post in case someone goes “hmmm... change X > might have done this”. Maybe Davidlohr knows, since he's responsible for most of the epoll changes in 5.0. > Basically, something’s broken (or at least, has changed enough to > cause problems in user space) in epoll since 5.0. It’s still broken in > 5.1-rc5. > > It doesn’t happen 100% of the time. It’s sort of hard to pin down but > I’ve observed the following: > > * nginx not accepting connections under load > * A java app which uses netty / NIO having strange writability > semantics on channels, which confuses netty / java enough to not > properly flush written data on the socket. > > I went and tested these Linux kernels: > > 4.20.17 > 4.19.32 > 4.14.111 > > And the issue(s) do not show up there. > > I’m still actively chasing this up, and will report back — I haven’t > touched kernel code in 15 years so I’m a little rusty. :) > > Regards, > Omar