--On Tuesday, April 07, 2015 11:12 AM +0000 rolandsytt(a)yahoo.com wrote:
Full_Name: Roland S.tt
OS: CentOS Linux release 7.0.1406
Submission from: (NULL) (126.96.36.199)
Slapd memory usage increases endlessly. It's same in 2.4.39 (from CentOS 7
repository). During some simple activity (e.g ldapsearch) memory usage
increases, but it's not decreases after the activity end.
You're likely seeing the numerous issues known to occur when using glibc as
the default allocator. OpenLDAP is routinely profiled for memory leaks,
and there are none currently known to exist. It is always strongly advised
to use a different memory allocator with OpenLDAP, such as tcmalloc.
For example, I wrap slapd with:
# ***** BEGIN LICENSE BLOCK *****
# Zimbra Collaboration Suite Server
# Copyright (C) 2007, 2008, 2009, 2010, 2012, 2013, 2014 Zimbra, Inc.
# This program is free software: you can redistribute it and/or modify it
# the terms of the GNU General Public License as published by the Free
# version 2 of the License.
# This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# See the GNU General Public License for more details.
# You should have received a copy of the GNU General Public License along
with this program.
# If not, see <http://www.gnu.org/licenses/>
# ***** END LICENSE BLOCK *****
ulimit -n 32768
ulimit -c unlimited
ulimit -v unlimited
exec /opt/zimbra/openldap/sbin/slapd "$@"
As there is no actionable bug report here, this bug will be closed.
Zimbra :: the leader in open source messaging and collaboration