Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F2C1910A05 for ; Fri, 8 Nov 2013 14:35:38 +0000 (UTC) Received: (qmail 70358 invoked by uid 500); 8 Nov 2013 14:35:36 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 69979 invoked by uid 500); 8 Nov 2013 14:35:33 -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 69971 invoked by uid 99); 8 Nov 2013 14:35:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Nov 2013 14:35:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [76.96.30.40] (HELO qmta04.emeryville.ca.mail.comcast.net) (76.96.30.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Nov 2013 14:35:26 +0000 Received: from omta02.emeryville.ca.mail.comcast.net ([76.96.30.19]) by qmta04.emeryville.ca.mail.comcast.net with comcast id n2SW1m0020QkzPwA42b54N; Fri, 08 Nov 2013 14:35:05 +0000 Received: from [192.168.199.10] ([69.251.80.74]) by omta02.emeryville.ca.mail.comcast.net with comcast id n2b31m00K1cCKD98N2b4Xd; Fri, 08 Nov 2013 14:35:05 +0000 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1816\)) Subject: Re: mod_proxy: maximum hostname length for workers From: Jim Jagielski In-Reply-To: Date: Fri, 8 Nov 2013 09:35:02 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <686FD502-3302-4391-BCCE-A7707412A96D@jaguNET.com> References: To: dev@httpd.apache.org X-Mailer: Apple Mail (2.1816) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1383921305; bh=gWvhtvlIdFbonYUcyckjAskOvaRLJOuk7en2muAflqE=; h=Received:Received:Content-Type:Mime-Version:Subject:From:Date: Message-Id:To; b=KDDqw/hrcdT60sSENdEwFjoDS/UOM6+DNoqjRdVwX1aQq7z3mysxzFVAp0JMlC9Si TdFtc5yv8eSVdmn1jNNIwunfAkrHA6RUhdjKqx0XTPjGg5TclBRkineNKFHKJPU9jo gnm8l19LPyFKzcsCBF/l2WCrcAzLPcrnBvBUI2Z8XR4wvxYXD95lrwvq8kYyv94cNW OpBi399YBV52JRlhF9hHy9W/IP7KfXfnFJ7k57MM/V5TcY7AW/U0DI0weIvHC+iBEC Yd/HvUXndprb04oiCK6JlMSyIUmCJUtkxbaSzrQfzv+J/jNpQYJsxdYh5YkvuQoj2m z7yPTgrzn6zXA== X-Virus-Checked: Checked by ClamAV on apache.org Yeah, it's basically for performance and storage reasons (since those strings are stored in shm)... Nowadays I don't think shm is such an expensive commodity, though I can imagine some setups where the default sizes allowed by the kernel could be kinda small. I'd be +1 in adjusting all of those fields bigger, but I'm guessing that constitutes an API change for proxy... On Nov 8, 2013, at 5:17 AM, Thomas Eckert = wrote: > I'm looking at an issue with this log message >=20 > AH00526: Syntax error on line 6 of myconfig.conf: BalancerMember = worker hostname = (aaaaaaaa-bbbb-cccc-dd-eee-ffffffffff.us-east-1.elb.amazonaws.com) too = long >=20 > with the root cause being (modules/proxy/mod_proxy.h) >=20 > #define PROXY_WORKER_MAX_HOSTNAME_SIZE 64 >=20 > and I'm wondering why this is. I did not see any comments on why there = is this limit, so I assume it's for performance reasons. >=20 > Also, I'm wondering what the implications (if any) of altering this = limit are.