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 1D92B200C2C for ; Fri, 3 Mar 2017 18:48:15 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1C176160B80; Fri, 3 Mar 2017 17:48:15 +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 65DAC160B5E for ; Fri, 3 Mar 2017 18:48:14 +0100 (CET) Received: (qmail 98309 invoked by uid 500); 3 Mar 2017 17:48:13 -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 98299 invoked by uid 99); 3 Mar 2017 17:48:13 -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; Fri, 03 Mar 2017 17:48:13 +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 DADD8C03CB for ; Fri, 3 Mar 2017 17:48:12 +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-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id T-y4ChjHRYgo for ; Fri, 3 Mar 2017 17:48:12 +0000 (UTC) Received: from mail-qk0-f177.google.com (mail-qk0-f177.google.com [209.85.220.177]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 5BFD25F1C2 for ; Fri, 3 Mar 2017 17:48:11 +0000 (UTC) Received: by mail-qk0-f177.google.com with SMTP id n127so187856713qkf.0 for ; Fri, 03 Mar 2017 09:48:11 -0800 (PST) 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=7BJEz1qYXkXavx4p1eD9SESAkzIzlHULupK3EG34tUY=; b=hf+ujaqBbJlSBiQVLSh84X2lDEtqilgr7PzxPuMHbEGC2G8wNnvNJBRVxBuVE4r+N1 y9p1pAoDcxA1fMAz8vBCZ6s1WOH+Usvfjlibkp1vMWSq9YdFnYEH6PQRKzhkJea1c1KY emLEHEx6/zCih6tRae5bqFU9L1pjd5aYdGA4G5aXYUYbmOgRZwl4r+mPckYA5/GI676s DblfN7Eg8bu0T56tduPb0OWDCu9zvx5Ee1JG7Lb8pLA8rREy8PrGwg5Nnao9eXCVJpJi 5knQtyES0b0+zexB2QTZt6oQyS0+Pm1U7p6VWXq2VC7yf2AkABi7W/ucwYTI3bhlQSfx 37Zg== 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=7BJEz1qYXkXavx4p1eD9SESAkzIzlHULupK3EG34tUY=; b=JfDMmeluTyI8GVZoBstgFk6sXXnj2c29nfK4QdLJ0dkQGy3lVk3CApiB42srp3Hsuh QpLdPbYrrCYuMQS8Ad8BCsh89wpOKBVIuu30ZRyjYrnnaVwPo7L6TGX38RqMerfNlLPc NoIcDDewzOWlr0TSJ6hss958mdfV36rKo/7rLiRs/ZQTvVll1plNoAHKT9hqqy3bNPOg ktlZcHU+/O/Q54UT6Db3Onu23OPSXhQ6n3Xp9kP6Ko6C2aUj7i+DV36thk52J3LL3PO/ gjiFbMCzNydJRl6YWaiatrDhDQC9s63CUjpwFgw1BDWki0V5SO3eI0/qcTfCiwolKSly q68A== X-Gm-Message-State: AMke39mU2CJMcQue79Oox5ohHzbzyG2Ir9p6OPn7qp/5uJqBIxkFM9ziqOYA3WECQWXKMtwclszwemRMARtwqQ== X-Received: by 10.237.33.251 with SMTP id m56mr4207559qtc.121.1488563288435; Fri, 03 Mar 2017 09:48:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.55.204.93 with HTTP; Fri, 3 Mar 2017 09:48:08 -0800 (PST) In-Reply-To: References: From: Yann Ylavic Date: Fri, 3 Mar 2017 18:48:08 +0100 Message-ID: Subject: Re: Read scattered to gather send (was [too long]: httpd 2.4.25, mpm_event, ssl: segfaults) To: httpd-dev Content-Type: text/plain; charset=UTF-8 archived-at: Fri, 03 Mar 2017 17:48:15 -0000 On Fri, Mar 3, 2017 at 6:41 PM, Yann Ylavic wrote: > > Currently I have good results (with gdb/LOG_TRACE, no stress test yet ;) > > For "http:" (main server) with: > > EnableMMAP off > EnableSendfile off > > EnableScatterReadfile on > #FileReadBufferSize 8192 <= default > > FlushThreshold 1048576 Sorry, wrong copy/paste value, I tested that but 1MB looks not really reasonable for a common case. So: FlushThreshold 131072 should be enough for a (already powerful) test ;) > FlushMemThreshold 65536 > FlushMaxPipelined 5 > > And for "https:" (vhost) with overridden: > > EnableScatterReadfile fixed > > FileReadBufferSize 16384 The other values are fine I think.