[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
OpenLDAP is using lots of memory
- To: openldap-technical@openldap.org
- Subject: OpenLDAP is using lots of memory
- From: Friedrich Locke <friedrich.locke@gmail.com>
- Date: Thu, 28 Jul 2011 18:51:33 -0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=ZFWyrQ16hwEWpsG7II6Tr/X8jjyTEpFCZwAZiOYVcPE=; b=fCthIoIctHG8lqz7QDwqSS89q6teVD0s7yqyH3RX8yetZ/O6bjydR2stqHQd4xoAO2 wIMovc81R5pV21dvKvMDE+S/uEzlILfPI6UX9L7aYhMbGussq1ll6lqg4nYVIt5t+XBl /0ZMvq1ojRm0yExVxLYhM6Ybo5IQPpXdBSoPQ=
Hi folks,
i have installed qmail-ldap and everything is going fine. The only
problem i am seeing is that slapd is using too much memory.
I have a small scenario: 20 user account, 15 group all "inside" slapd.
The problem happens when local email is delivered. I take the
following approach:
First i disable qmail:
# svc -d qmail
Then i send 10 email to a local user:
# echo to: localuser@localdomain | /var/qmail/bin/qmail-inject
Than i monitor slapd process with "top" on another shell.
I sent 10 email for a local user.
# echo to: localuser@localdomain | /var/qmail/bin/qmail-inject
Then i turn on qmail
# svc -u qmail
Now, top's column "SIZE" goes from 13MB to 63MB
Is that correct? it gives 5 MB per connection from qmail to openldap!
What am i doing wrong ?
Thanks in advance for your time and cooperation.
Best regards,
Fried.