|
From: | Vijay Bellur |
Subject: | Re: [Gluster-devel] pthread_*_init return values |
Date: | Wed, 08 Feb 2012 08:48:37 +0530 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 |
On 02/08/2012 08:50 AM, Emmanuel Dreyfus wrote:
Vijay Bellur<address@hidden> wrote:Once memory accounting is enabled, the accounting data can be viewed by triggering a statedump.I have it running with -DDEBUG, how do I trigger the statedump?
kill -USR1 <glusterfs_pid> would do. This yields you a file /tmp/glusterdump.<pid>. If you grep for memusage in glusterdump, you can see memory consumption per type per xlator. The corresponding type can be looked up in the <xl_prefix>-mem-types.h present in all xlators.
It might be useful to take a dump before and after running the test so that you can compare the memory consumptions.
-Vijay
[Prev in Thread] | Current Thread | [Next in Thread] |