Bug 1751014
Summary: | Memory leak when often run gluster volume status | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | padner <padner2002> | ||||||||
Component: | glusterd | Assignee: | Sanju <srakonde> | ||||||||
Status: | CLOSED NOTABUG | QA Contact: | |||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 6 | CC: | amukherj, bugs, nchilaka, srakonde | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | x86_64 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2019-09-16 03:31:21 UTC | Type: | Bug | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
padner
2019-09-11 03:32:27 UTC
Created attachment 1613884 [details]
first statedump
Created attachment 1613885 [details]
second statedump of glusterd process
Created attachment 1613886 [details]
gluster volume info
Hi, I see the increase in memory of gf_common_mt_txn_opinfo_obj_t structure, which has been fixed in release-6. Can you please check whether your cluster is running at appropriate op-version? With the above-mentioned fix, the memory leak has greatly reduced. [mgmt/glusterd.management - usage-type gf_common_mt_txn_opinfo_obj_t memusage] | [mgmt/glusterd.management - usage-type gf_common_mt_txn_opinfo_obj_t memusage] size=610288 | size=1427664 num_allocs=5449 | num_allocs=12747 max_size=610400 | max_size=1427776 max_num_allocs=5450 | max_num_allocs=12748 total_allocs=22184 | total_allocs=51138 Also, I tried running gluster volume status in loop for 1000 times and I don't see the leak in gf_common_mt_txn_opinfo_obj_t. Please get back with output of "gluster v get all cluster.op-version". Thanks, Sanju Hi, Sanju! Thanks for the answer. Yes, you're right about the op-version. After set to 60000, RSS memory growth stopped. gluster v get all cluster.op-version Option Value ------ ----- cluster.op-version 50400 |