From owner-freebsd-questions@FreeBSD.ORG Mon May 1 12:42:15 2006 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 83A3616A405 for ; Mon, 1 May 2006 12:42:15 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4F4843D45 for ; Mon, 1 May 2006 12:42:14 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.139] (helo=anti-virus01-10) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1FaXjB-00087G-2p; Mon, 01 May 2006 13:42:13 +0100 Received: from [80.192.58.117] (helo=[192.168.0.2]) by asmtp-out1.blueyonder.co.uk with esmtp (Exim 4.52) id 1FaXjA-0004ri-Gg; Mon, 01 May 2006 13:42:12 +0100 Message-ID: <44560223.50901@dial.pipex.com> Date: Mon, 01 May 2006 13:42:11 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.12) Gecko/20060305 X-Accept-Language: en MIME-Version: 1.0 To: Ben Paley References: <200604201017.48209.ben@spooty.net> <200604280948.50432.ben@spooty.net> <4451EDB5.1090702@dial.pipex.com> <200605011211.23652.ben@spooty.net> In-Reply-To: <200605011211.23652.ben@spooty.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions Subject: Re: Horrible: Apache corrupting files? 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, 01 May 2006 12:42:15 -0000 Ben Paley wrote: >On Friday 28 April 2006 10:25, Alex Zbyslaw wrote: > > > >>Try sysutils/smartmontools or a disk checker from the disk >>manufacturer. Most provide one. >> >> > >smartmontools seems to confirm there's nothing wrong with the disk: >############################################ > >smartctl version 5.33 [i386-portbld-freebsd6.1] Copyright (C) 2002-4 Bruce >Allen >Home page is http://smartmontools.sourceforge.net/ > >=== START OF READ SMART DATA SECTION === >SMART Self-test log structure revision number 1 >Num Test_Description Status Remaining LifeTime(hours) >LBA_of_first_error ># 1 Extended offline Completed without error 00% 3069 - ># 2 Extended offline Completed without error 00% 3064 - ># 3 Short offline Completed without error 00% 492 - ># 4 Short offline Completed without error 00% 0 - >############################################ > >Any more ideas? > > I assume this was from you running a new long test. If so, then no. I missed most of the thread, I'm afraid, just caught the gist. Have you tried serving the same files from another machine with identical apache setup? If that serves them OK then it shouldn't be apache. That's all I can think of, besides *possibly* there is either some fault on the disk controller or perhaps the FreeBSD driver. You could try upgrading to some newer FreeBSD if there is one but that's quite drastic and might solve nothing. Same for swapping the disk and or controller, if you have any spares. (If you have another disk, then try moving the data to it and comparing, then get apache to server from the new disk and see if that helps), You may have tried all that already. --Alex