From owner-freebsd-questions@FreeBSD.ORG Mon May 23 21:14:17 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CE7916A41C for ; Mon, 23 May 2005 21:14:17 +0000 (GMT) (envelope-from Mykel@mWare.ca) Received: from ox.eicat.ca (ox.eicat.ca [66.96.30.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2620143D1F for ; Mon, 23 May 2005 21:14:15 +0000 (GMT) (envelope-from Mykel@mWare.ca) Received: from [10.100.104.31] (Hi.From.Radix.mWare.ca [66.96.18.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ox.eicat.ca (Postfix) with ESMTP id 42467F826; Mon, 23 May 2005 17:14:13 -0400 (EDT) Message-ID: <4292476B.80506@mWare.ca> Date: Mon, 23 May 2005 17:13:15 -0400 From: Mykel User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041221 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Scott Stevenson References: <62547055-57AF-4695-9EB7-CA7CB4BB4232@maxify.com> In-Reply-To: <62547055-57AF-4695-9EB7-CA7CB4BB4232@maxify.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Some HTTP clients only receive first 4k X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 21:14:17 -0000 Scott Stevenson wrote: > This is a follow-up to a post back in February. > msg03071.html> > > > Summary: Certain HTTP clients only receive partial file contents. The > majority of visitors have no problems, but those that do seem to > experience it 100% of the time. > > After looking into this further, I've discovered some interesting > data points: > > > 1. Affected clients consistently receive only the first 4096 bytes of > .html and .css files. After that, they encounter a single garbage > character (looks like a memory stomp), and then nothing. > > 2. At least two of the sites hosted on the machine are affected. > > 3. The issue can be reproduced via the W3 validator: > > 2Farticles%2F000085-test.html&charset=%28detect+automatically% > 29&doctype=%28detect+automatically%29&ss=1> > > The bottom of this page shows the first 4k that was successfully > fetched. It stops right in the middle of a tag. The same thing > happens with this css file: > > 2Fcocoadevcentral.com%2Fcss% > 2Fcocoadevcentral-20050401.css&usermedium=all> > > > 4. At least in the case of the validator, the requests don't show up > in Apache's access or error logs! This is consistently reproducible. > > 5. For some reason, clients consistently only get to byte 3883 (or > perhaps 3884) in .php files, and then get the garbage character. > > > These same sites were previously running on the same network with the > same version of apache. I've done hours of googling and also searched > the freebsd-questions mailing list archives. I've gone out of my way > to keep the installation as vanilla as possible. The system > configuration is essentially: > > FreeBSD 5.3-Release > Apache 2.0.50 > PHP 5.0.2 Perhaps there's an MTU problem along the way? Can you ping/traceroute all the way between endpoints? Some people idiotically block all ICMP, when they probably just want to filter ICMP ECHO... (idijjits... ping ain't the biggest of your problems) It comes to packet sizes on the various links. Myke