Messages in this thread | | | Date | Wed, 31 Mar 2004 23:22:42 +0200 | From | Andrea Arcangeli <> | Subject | Re: 2.6.5-rc3-aa1 |
| |
On Wed, Mar 31, 2004 at 09:16:20PM +0200, Bongani Hlope wrote: > On Wed, 31 Mar 2004 05:09:21 +0200 > Andrea Arcangeli <andrea@suse.de> wrote: > > > The xfs warning during truncate will be fixed with a later update > > (Nathan is currently working on it). > > > > next thing to do is to fixup the merging in mprotect. > > > > I'm running 2.6.5-rc2-aa4, when I woke-up in the morning almost all of > my memory was gone, but my swap was never touched. I managed to get > only the output of SysRq-M before it hard-locked. For some reason it > doesn't swap. I'll try to reproduce.
weird, it really loks like it doesn't swap anything. At least it's not a race condition. Which fs are you using?
can you try to actively push it into swap with a script like this?
#!/usr/bin/env python
while 1: try: a = 'a' while 1: a += a except MemoryError: pass
this should push something into swap.
Can you also upgrade to 2.6.5-rc3-aa1? There were a few bugs in previous releases, though nothing that would prevent it to swap.
thanks for the feedback!
> > SysRq : Show Memory > Mem-info: > DMA per-cpu: > cpu 0 hot: low 2, high 6, batch 1 > cpu 0 cold: low 0, high 2, batch 1 > Normal per-cpu: > cpu 0 hot: low 28, high 84, batch 14 > cpu 0 cold: low 0, high 28, batch 14 > HighMem per-cpu: empty > Mar 31 06:48:12 bongani kernel: > Free pages: 2752kB (0kB HighMem) > Active:27927 inactive:1585 dirty:4 writeback:0 unstable:0 free:688 > DMA free:1008kB min:28kB low:56kB high:84kB active:308kB inactive:256kB present:16384kB > Normal free:1744kB min:476kB low:952kB high:1428kB active:111400kB inactive:6084kB present:245696kB > HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB present:0kB > DMA: 0*4kB 0*8kB 1*16kB 1*32kB 1*64kB 1*128kB 1*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 1008kB > Normal: 162*4kB 17*8kB 4*16kB 0*32kB 0*64kB 1*128kB 1*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 1744kB > HighMem: empty > Swap cache: add 0, delete 0, find 0/0, race 0+0 > Free swap: 257000kB > 65520 pages of RAM > 0 pages of HIGHMEM > 1579 reserved pages > 19651 pages shared - 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/
| |