Re: 2.6.22.3 out of memory crash

From: Nick Piggin
Date: Fri Sep 28 2007 - 10:11:54 EST


On Thursday 20 September 2007 16:56, Dag Nygren wrote:
> Hi,
>
> I have the kview zoom function mapped to the scrollwheel
> with ctrl.
> Now my wife found out and watching our photos wanted
> to zoom out a bit. Then she just rotated the scrollwheel a lot
> and expected the zoom to happen. What did happen was that
> as the there was no apparent response she tried again, and again.
>
> Finally the box probably was out of swap space (2GB RAM) and crashed
> miserably.
>
> This is not the expected behavior from a Linux box using a graphics
> viewer and I now wonder if there is something I can do about it?
> Kernel parameters?
> Kview patch?
> New wife ;-)
>
> Best
> Dag


If the app has used up all memory, then there is not a great deal
that the kernel can do about it.

The oom-killer ideally I suppose should terminate your kview process
and the machine should continue normally after a fashion. How did
it actually die? Any kernel messages?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/