On Tue, 21 Nov 2006 21:41:31 +0300
Michael Raskin <[email protected]> wrote:
> Andrew Morton wrote:
> > On Mon, 20 Nov 2006 09:26:29 +0300
> > Michael Raskin <[email protected]> wrote:
> >
> >> Short description: when X is loaded (maybe any heavy application is
> >> sufficient, but I don't use anything heavy in console), 'free' says used
> >> memory is growing.
> >>
> Thank you for reply.
>
> > Monitor /proc/meminfo
> Thanks for advice. I didn't think of it. I should be ashamed.
>
> Result: mysterious. All fields that grow can not account for even a
> third part.
>
> In top I found a situation when 2MB (~half a minute) go to nowhere and
> no of first 50 processes changes resident memory usage at all. The rest
> have less than a MB each.
>
> > If the leak is slab, monitor /proc/slabinfo and /proc/slab_allocators.
> I hope no.
> > /proc/slab_allocators needs CONFIG_DEBUG_SLAB_LEAK.
> >
> > Thanks.
> >
> I did a few cat /proc/meminfo. Two of them are here:
>
> MemTotal: 763532 kB 763532 kB
> MemFree: 445956 kB 430932 kB
> Buffers: 20908 kB 21048 kB
> Cached: 77008 kB 77212 kB
> SwapCached: 0 kB 0 kB
> Active: 65916 kB 66120 kB
> Inactive: 54748 kB 54884 kB
> SwapTotal: 1052216 kB 1052216 kB
> SwapFree: 1052216 kB 1052216 kB
> Dirty: 264 kB 324 kB
> Writeback: 0 kB 0 kB
> AnonPages: 22752 kB 22748 kB
> Mapped: 14616 kB 14628 kB
> Slab: 23108 kB 23088 kB
> SReclaimable: 15360 kB 15364 kB
> SUnreclaim: 7748 kB 7724 kB
> PageTables: 1216 kB 1216 kB
> NFS_Unstable: 0 kB 0 kB
> Bounce: 0 kB 0 kB
> CommitLimit: 1433980 kB 1433980 kB
> Committed_AS: 281456 kB 281448 kB
> VmallocTotal: 262104 kB 262104 kB
> VmallocUsed: 2876 kB 2876 kB
> VmallocChunk: 259028 kB 259028 kB
You lost 15MB and they didn't even turn up on the page LRU.
Can you try to determine exactly which activity causes this to happen? In
particular, is it due to the X server? If so, does any particular client
cause it to happen? Things which use 3d?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]