Messages in this thread | | | Date | Thu, 3 Feb 2005 07:28:50 -0500 (EST) | From | linux-os <> | Subject | Re: Joe User DOS kills Linux-2.6.10 |
| |
On Thu, 3 Feb 2005, Andries Brouwer wrote:
> On Wed, Feb 02, 2005 at 01:23:43PM -0500, linux-os wrote: >> >> When I compile and run the following program: >> >> #include <stdio.h> >> int main(int x, char **y) >> { >> pause(); >> } >> ... as: >> >> ./xxx `yes` >> >> ... the following occurs after about 30 seconds (your mileage >> may vary): >> >> Additional sense: Peripheral device write fault >> end_request: I/O error, dev sdb, sector 34605780 >> SCSI error : <0 0 1 0> return code = 0x8000002 >> Info fld=0x2100101, Deferred sdb: sense key Medium Error >> Additional sense: Peripheral device write fault >> end_request: I/O error, dev sdb, sector 34603748 >> SCSI error : <0 0 1 0> return code = 0x8000002 >> Info fld=0x2100103, Deferred sdb: sense key Medium Error > > When I run "sleep `yes`" under bash, all of swap space is filled, > and then bash says "realloc error ..." and exits. > > No kernel problem, no bad bash problem. > > If you do not run vm overcommit mode 2 then probably your bash > will be killed by the OOM killer, and if you are unlucky some > other stuff might be killed as well. > > Concerning the SCSI errors, looks like you might have disk problems. > Bad blocks in your swap space. Recheck the disk. > > Andries >
I ran badblocks (all night). There were none. It's a SCSI disk and it requires chunks of DMA RAM for each write. The machine just croaks when it gets low on RAM and tries to write to SCSI swap which requires RAM.
Cheers, Dick Johnson Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips). Notice : All mail here is now cached for review by Dictator Bush. 98.36% of all statistics are fiction. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |