Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 45016 invoked from network); 15 Jun 2010 21:24:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Jun 2010 21:24:16 -0000 Received: (qmail 24309 invoked by uid 500); 15 Jun 2010 21:24:15 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 24245 invoked by uid 500); 15 Jun 2010 21:24:14 -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 24237 invoked by uid 99); 15 Jun 2010 21:24:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 21:24:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of i.galic@brainsware.org designates 188.40.115.121 as permitted sender) Received: from [188.40.115.121] (HELO mail.brainsware.org) (188.40.115.121) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 21:24:06 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.brainsware.org (Postfix) with ESMTP id E0EFC1DE27D for ; Tue, 15 Jun 2010 21:23:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at brainsware.org Received: from mail.brainsware.org ([127.0.0.1]) by localhost (mail.brainsware.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4kr5wTljzkmG for ; Tue, 15 Jun 2010 21:23:41 +0000 (UTC) Received: from mail.brainsware.org (mail.brainsware.org [188.40.115.121]) by mail.brainsware.org (Postfix) with ESMTP id BCCDC1DE052 for ; Tue, 15 Jun 2010 21:23:41 +0000 (UTC) Date: Tue, 15 Jun 2010 21:23:41 +0000 (UTC) From: =?utf-8?Q?Igor_Gali=C4=87?= To: dev@httpd.apache.org Message-ID: <82251847.341.1276637021681.JavaMail.root@iris> In-Reply-To: <4C17ED72.6000100@kippdata.de> Subject: Re: MPM default config and conf/extra/httpd-mpm.conf MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [195.72.132.1] X-Mailer: Zimbra 6.0.5_GA_2213.DEBIAN5_64 (ZimbraWebClient - FF3.0 ([unknown])/6.0.5_GA_2213.DEBIAN5_64) X-Virus-Checked: Checked by ClamAV on apache.org > > > > I wonder if this thread is wrong enough for the topic: > > > > Would it be possible to choose defaults for the MPMs based on > > the available CPU(core)s and the Memory, rather than just hard > > coding the values? >=20 > I doubt it's worth it and that we can make it work nicely. I think we >=20 > are looking for a mid-size configuration that neither optimizes on > tiny=20 > systems (saving as much resources as possible) nor on high load > systems=20 > (extreme scaling) but instead for the huge number on configurations in >=20 > between, that hope to work reasonable with default sizing. >=20 > If we are talking about auto-detecting system resources: Memory and > CPU=20 > in these cases often is not only used for httpd because it is not the >=20 > only application on the system. >=20 > If we want the user to assign those resources I doubt we can find good >=20 > formulas. ACK. Then it's probably best to set sane defaults which will work well and work well everywhere. In the config we could then provide hints how to scale it up or down. =20 > Rainer Bye --=20 Igor Gali=C4=87 Tel: +43 (0) 699 122 96 338 Fax: +43(0) 1 91 333 41 Mail: i.galic@brainsware.org URL: http://brainsware.org/