[DOCS-441] Build 2.0.x with tcmalloc Created: 24/Aug/12  Updated: 12/Feb/13  Resolved: 12/Feb/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Minor - P4
Reporter: Gregor Macadam Assignee: Sam Kleinman (Inactive)
Resolution: Won't Fix Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on DOCS-174 Build Instructions Closed
Participants:
Days since reply: 11 years, 1 week, 2 days ago

 Description   

The tcmalloc library can be useful in high cpu + high queue situations. The steps to use tcmalloc with 2.0.x should be documented.



 Comments   
Comment by Sam Kleinman (Inactive) [ 12/Feb/13 ]

given the scheduling of the build instruction documentation and the presence of 2.2, which contains this feature, I'm going to close this ticket.

Comment by Stennie Steneker (Inactive) [ 12/Dec/12 ]

Instructions from the mongodb-user discussion thread:

  • Install google perf tools (e.g. apt-get install libgoogle-perftools0)
  • Stop mongod/mongos
  • Start mongod/mongos with the following environment variable defined (note the paths may need to be updated; detailed instructions at http://goog-perftools.sourceforge.net/doc/heap_profiler.html):
    LD_PRELOAD="/usr/lib/libtcmalloc.so"
Comment by Roman Skvazh [ 24/Aug/12 ]

This is useful tip!
It helped us.

https://groups.google.com/forum/?fromgroups=#!topic/mongodb-user/JKJq4Ibxqic

Generated at Thu Feb 08 07:38:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.