Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 06762200C3F for ; Wed, 22 Mar 2017 14:38:14 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 05188160B86; Wed, 22 Mar 2017 13:38:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 49F1E160B83 for ; Wed, 22 Mar 2017 14:38:13 +0100 (CET) Received: (qmail 45409 invoked by uid 500); 22 Mar 2017 13:38:11 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 45399 invoked by uid 99); 22 Mar 2017 13:38:11 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Mar 2017 13:38:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 9AB59C002B for ; Wed, 22 Mar 2017 13:38:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.379 X-Spam-Level: X-Spam-Status: No, score=0.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id zVmsjcFA_TFl for ; Wed, 22 Mar 2017 13:38:09 +0000 (UTC) Received: from mail-qt0-f175.google.com (mail-qt0-f175.google.com [209.85.216.175]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id A9CB75FDA6 for ; Wed, 22 Mar 2017 13:38:09 +0000 (UTC) Received: by mail-qt0-f175.google.com with SMTP id n21so153197711qta.1 for ; Wed, 22 Mar 2017 06:38:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=MSwW5dNp58V4HAmKwgqp6UOoi+Kvpj+douW++AHrqMA=; b=sco5OvNtyME9Ywv7AYA8PejsqPuStOKwSxV8+/L+TF62hHvOV4/zuf+zf8a0i7/99U KVMTh7do39wAgtXxUNoJaq7vOPnewy6cKrvZxNQLmG44tJDf+4qbN2G/oHg9c/ZZUYKK SOOBVHLdqf2dQQe//3MshZ36XA1CJnlyTnnSCVJv+xEkVeHXUHGonW6j8mKJrOZPM/MX VRlAReL0GdbDp6YuU7FQebeUAQFCkwKFbNYlUJuQingfj5TLoa7Sz0N1FdJeYBvQx38v DtulIRjLpeQmYexinD98wKA3wlNtmXceWJI9/TRA6DSgk8oNq1Hc2pz97VSymv2yCfc4 sb+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=MSwW5dNp58V4HAmKwgqp6UOoi+Kvpj+douW++AHrqMA=; b=Mkoju/DCBA/Jby3PCJEsC6ItPyvrIIFfCqyL7NSsaTS2FOhAFO6If2D3dXhwMx0j7F STCAjtypZD24aTYZwSXYLblM9wCJFENRhDsUZLu5LzAfH9pFfHFLpJ7xg29gSZr/rp1y nRw5eayiDV/Brq4DOmx/+reI9sKHdKW2dwWvQDIxWpvc1TLQYc0Wi8iZRmhXDeP3ndd0 j9M0KrXVhKOUfuxZVxMsIgBQ2YdM52DoBqsz58VaNdytFe1uKV0+6g6vgEbWDfvGXBAy qEo81/qI3fh1Ng/pFV+GidB5nZgrVDqJMYtsQ3ST0bs+3eUEemkKkS7lBoxI4e07Hnpy jVqw== X-Gm-Message-State: AFeK/H1HLrOftna8pzVtt5LLHkL4ra08AFYxlSrIE5m/G+2pSkLBW3kgIo5J5Fb05RpbQ4jtaYmkVqlYRcl2XA== X-Received: by 10.237.60.65 with SMTP id u1mr35720448qte.176.1490189889017; Wed, 22 Mar 2017 06:38:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.204.93 with HTTP; Wed, 22 Mar 2017 06:38:08 -0700 (PDT) In-Reply-To: <20170315092917.GA11168@redhat.com> References: <20170315092917.GA11168@redhat.com> From: Yann Ylavic Date: Wed, 22 Mar 2017 14:38:08 +0100 Message-ID: Subject: Re: listener buckets regressions To: httpd-dev Content-Type: text/plain; charset=UTF-8 archived-at: Wed, 22 Mar 2017 13:38:14 -0000 On Wed, Mar 15, 2017 at 10:29 AM, Joe Orton wrote: > There seems to be some weird regressions in this. A mis-configuration > like: > > Listen 127.0.0.1:8025 > Listen [::1]:8025 > Listen 127.0.0.1:8025 > Listen [::1]:8025 > ListenCoresBucketsRatio 8 > > ... no longer triggers a startup failure - is that expected? I guess it > should be documented if so. Yes, SO_REUSEPORT allows multiple processes with the same EUID to bind the same port. I guess it's more a side effect than a feature from httpd's perspective (albeit it possibly could have an application...), in any case I agree that it should be documented (will have a look at it). > > Such a config then leaks fds across reloads: > > $ ss -ntlp | grep :8025 | wc -l > 8 > $ ./bin/apachectl graceful > $ ss -ntlp | grep :8025 | wc -l > 10 > $ ./bin/apachectl graceful > $ ss -ntlp | grep :8025 | wc -l > 12 > > Maybe somebody familiar with the code can understand why. Will try... > > These issues are a regression in 2.4.x without ListenCoresBucketsRatio > set as well, which the below seems to fix (proposed for backport): > > http://svn.apache.org/viewvc?view=revision&revision=1777923 Seems to be backported already, good thing. Regards, Yann.