[SERVER-35444] Heap stacks should not be included in serverStatus with heapprofilingenabled Created: 06/Jun/18  Updated: 29/Oct/23  Resolved: 07/Jun/18

Status: Closed
Project: Core Server
Component/s: Diagnostics
Affects Version/s: None
Fix Version/s: 3.6.6, 4.0.0-rc5, 4.1.1

Type: Bug Priority: Major - P3
Reporter: Kelsey Schubert Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-35666 mongod process consumes all memory an... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0, v3.6
Sprint: Platforms 2018-06-18
Participants:

 Description   

Under certain circumstances, it is possible that the response of serverStatus will exceed 16mb with heapprofilingenabled, causing it to error when requested.

We should remove the heap stacks from ServerStatus, and instead rely on the logs to correlate numbered stacks to their heaps.



 Comments   
Comment by Githook User [ 21/Jun/18 ]

Author:

{'username': 'markbenvenuto', 'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com'}

Message: SERVER-35444 Heap stacks should not be included in serverStatus with heapProfilingEnabled

(cherry picked from commit 6e82b67a67edf2ca22d7bfa1c2061e56d7c94dea)
Branch: v3.6
https://github.com/mongodb/mongo/commit/388f176137a617850def77329dd429d3169c7a6c

Comment by Githook User [ 07/Jun/18 ]

Author:

{'username': 'markbenvenuto', 'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com'}

Message: SERVER-35444 Heap stacks should not be included in serverStatus with heapProfilingEnabled

(cherry picked from commit 6e82b67a67edf2ca22d7bfa1c2061e56d7c94dea)
Branch: v4.0
https://github.com/mongodb/mongo/commit/4c180a92e580d7bb998111dd55719bd8e3fdee73

Comment by Githook User [ 07/Jun/18 ]

Author:

{'username': 'markbenvenuto', 'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com'}

Message: SERVER-35444 Heap stacks should not be included in serverStatus with heapProfilingEnabled
Branch: master
https://github.com/mongodb/mongo/commit/6e82b67a67edf2ca22d7bfa1c2061e56d7c94dea

Comment by Mark Benvenuto [ 06/Jun/18 ]

The plan is to remove this code,bruce.lucas is that ok with you?

Generated at Thu Feb 08 04:39:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.