Messages in this thread | | | Date | Thu, 17 Feb 2000 06:10:02 +0100 (CET) | From | Mike Galbraith <> | Subject | Re: OOM datapoint 2.3.45 |
| |
On Wed, 16 Feb 2000, Andrea Arcangeli wrote:
> On Tue, 15 Feb 2000, Mike Galbraith wrote: > > >I accidentally oomed my box running Christopher Rolands shmtst, and > >it started swap looping. I've seen this same looping before, and > > Verify shmtst deletes the segments after having attached them so that if > the task gets killed the memory released as well. > > Then you may want to try this patch: > > ftp://ftp.*.kernel.org/pub/linux/kernel/people/andrea/patches/v2.3/2.3.42/oom-2.gz
Got it.. will give it a test run.
What I was doing when I oomed the box was memleak testing. I would run shmtst with lots of small segments and lots of tasks with various other things for it to interact with running on another console. After running a bit, I'd manually cleanup and do a memleak check. (No leaks found except a very minor one in kHTTPd) Then, I forgot to cleanup before starting another round of (zzz) testing.
Box isn't out of swap when it dies, but even when it tries to kill a normal task, it shoots blanks. Sometimes it does try to kill another task, but frequently it goes straight for init. Sometimes (when it picks on something other than init) it succeeds in killing before loop death sets in and you can regain control.. mostly not.
-Mike
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |