Horrible: Apache corrupting files?

Alex Zbyslaw xfb52 at dial.pipex.com
Mon May 1 12:42:15 UTC 2006


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




More information about the freebsd-questions mailing list