Bug 1425837

Summary: [RFE] Change default memory allocator to tcmalloc
Product: Red Hat Enterprise Linux 7 Reporter: mreynolds
Component: 389-ds-baseAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: Viktor Ashirov <vashirov>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.4CC: nhosoi, nkinder, rmeggins
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://www.port389.org/docs/389ds/design/tcmalloc-design.html
Whiteboard:
Fixed In Version: 389-ds-base-1.3.6.1-3.el7 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 21:14:10 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:

Description mreynolds 2017-02-22 14:49:05 UTC
Description of problem:

The way Directory Server uses memory memory internally causes the default memory allocator in glibc to create a very large virtual process size and growth over time.  The process size can be many times what the cache settings are, and can lead to OOM issues.

When using tcmalloc the memory size and growth is significantly smaller, and more inline with what you would expect with the configured cache settings.

Upstream issue:

https://pagure.io/389-ds-base/issue/49141

Comment 2 mreynolds 2017-02-22 14:51:37 UTC
Fixed upstream

Comment 6 errata-xmlrpc 2017-08-01 21:14:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2086