From owner-freebsd-questions@FreeBSD.ORG Mon May 23 19:06:07 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 96CBA16A41C for ; Mon, 23 May 2005 19:06:07 +0000 (GMT) (envelope-from scott@maxify.com) Received: from vertigo.maxify.com (ns.maxify.com [216.218.213.18]) by mx1.FreeBSD.org (Postfix) with SMTP id 6A56E43D48 for ; Mon, 23 May 2005 19:06:05 +0000 (GMT) (envelope-from scott@maxify.com) Received: (qmail 32963 invoked from network); 23 May 2005 19:14:29 -0000 Received: from unknown (HELO ?66.92.188.147?) (66.92.188.147) by ns.maxify.com with SMTP; 23 May 2005 19:14:29 -0000 Mime-Version: 1.0 (Apple Message framework v728) Content-Transfer-Encoding: 7bit Message-Id: <62547055-57AF-4695-9EB7-CA7CB4BB4232@maxify.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: Scott Stevenson Date: Mon, 23 May 2005 12:04:53 -0700 X-Mailer: Apple Mail (2.728) Subject: 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 19:06:07 -0000 This is a follow-up to a post back in February. 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: 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: 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 Thanks, - Scott