/proc/slab_allocators question

From: Pietro Paolini
Date: Thu Apr 03 2014 - 14:02:39 EST


Hello everyone,

I am experiencing a problem where the system reboot due low memory conditions and looking at the
/proc/slabinfo

I am able to see that a lot of memory is being used by the size-1024 cache name which reports a high number of active objects, then
in order to debug this situation I tried to compile with :

CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_SLAB=y
CONFIG_DEBUG_SLAB_LEAK=y

Now I am able to cat the /proc/slab_allocators leaf but that name, nor either all the size-* - are present
in that output, I guess because that memory is used by the kmalloc() functions.

Than how can I trace who allocates all that memory in my system ?

Best Regards,
Pietro
--
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/