[SERVER-4063] make leak warning take number of connections info consideration WAS: I would like a way to set the threshold for the memory leak warning message Created: 12/Oct/11  Updated: 11/Jul/16  Resolved: 12/Oct/11

Status: Closed
Project: Core Server
Component/s: Admin
Affects Version/s: 2.0.0
Fix Version/s: 2.0.2, 2.1.0

Type: Improvement Priority: Trivial - P5
Reporter: John Feibusch Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-4780 Improve Memory Leak Warning Message Closed
Participants:

 Description   

We get a lot of messages like this:
Wed Oct 12 09:18:45 [conn1158] warning: virtual size (447986MB) - mapped size (434286MB) is large. could indicate a memory leak

It looks like this is triggered whenever someone does db.serverStatus(), if virtual - mapped >5000 MB.

I would like this to be a configurable value, rather than a fixed size of 5000 MB. Ideally, the threshold could be changed without restarting the server.



 Comments   
Comment by auto [ 23/Oct/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: factor number of connections into memory leak warning SERVER-4063
Branch: v2.0
https://github.com/mongodb/mongo/commit/b81ad0bae002722e6da29c92dd47f46657b40603

Comment by Eliot Horowitz (Inactive) [ 12/Oct/11 ]

I think the real problem is the number of connections isn't being factored in.
Fixing

Comment by auto [ 12/Oct/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: factor number of connections into memory leak warning SERVER-4063
Branch: master
https://github.com/mongodb/mongo/commit/c5e9162870e1fbf060ba5b20cb57e13ae9fff877

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