Messages in this thread | | | Date | Wed, 2 Feb 2005 13:49:45 -0500 (EST) | From | Rik van Riel <> | Subject | Re: Joe User DOS kills Linux-2.6.10 |
| |
On Wed, 2 Feb 2005, linux-os wrote:
> When I compile and run the following program:
> ./xxx `yes`
It looks like the program itself doesn't matter, since it's bash that's eating up memory like crazy, until the point where it is OOM killed.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 32191 riel 18 0 436m 126m 312 R 45.9 86.9 0:13.37 bash 32222 riel 15 0 3276 148 124 S 39.0 0.1 0:09.79 yes
> 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
Looks like your SCSI disk has some problems, you may want to try running 'badblocks' on the swap partition to verify that. The VM doesn't appear to have a problem with your test program, in my quick runs here.
ObLKML: I was running the test inside Xen, and that seemed to hold up fine too ;)
-- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan - 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/
| |