diff options
author | Mohit Agrawal <moagrawal@redhat.com> | 2019-05-09 10:08:25 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-05-11 11:10:02 +0000 |
commit | 8e1d53f14730ac1b1ca0ce9d9a0ccb32578fd4fb (patch) | |
tree | 08971dc58a4bb05f14539fb9ad17bcf09f7c0149 /rpc | |
parent | af4d9131c8d09907853ee2f6e30b2a9bd80f3c84 (diff) |
core: Capture process memory usage at the time of call gf_msg_nomem
Problem: All gluster processes call gf_mgm_nomem while calloc/malloc/realloc
throw an error but the message does not capture current memory usage of
gluster process
Solution: Call getrusage to capture current memory usage of gluster
process
Change-Id: I2e0319da1f33b177fa042fdc9e7268068576c9c3
fixes: bz#1708051
Signed-off-by: Mohit Agrawal <moagrawal@redhat.com>
Diffstat (limited to 'rpc')
0 files changed, 0 insertions, 0 deletions