[Freeipa-users] virtual memory usage

Ivan Levchenko levchenko.i at gmail.com
Mon Sep 8 19:28:50 UTC 2008


Hi,

I've gotten through the install without using any special chars only
to find myself another problem =) (no surprise with luck)

I'm using OpenVZ on a host with limited ram (and the box is very far
away with nobody to add some ram, so its not a solution,
unfortunately) - i have set the virtual memory limit to 600 MiB
(privvmpages).
The install went through ok, but as soon as the directory server
started, it ate up all the virtual memory available to it:

[root at master /]# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.8  0.1   1988   664 ?        Ss   12:21   0:00 init [3]
root     28218  0.1  0.2   2368  1232 ?        Ss   12:21   0:00
/bin/bash /etc/rc.d/rc 3
root     28413  0.0  0.0   1644   560 ?        Ss   12:21   0:00 syslogd -m 0
root     28416  0.0  0.0   1596   408 ?        Ss   12:21   0:00 klogd -x
root     28424  0.0  0.2   2508  1268 ?        S    12:21   0:00
/bin/sh /etc/rc3.d/S21dirsrv start
dirsrv   28439  1.8  3.1 449468 19248 ?        Sl   12:21   0:00
/usr/sbin/ns-slapd -D /etc/dirsrv/slapd-MYDOMAIN-COM -i
/var/run/dirsrv/slapd-MYDOMAIN-COM.pid
root     28488  0.0  0.0  11200   340 ?        Ss   12:21   0:00 vzctl: pts/0
root     28489  0.3  0.2   2380  1304 pts/0    Ss   12:21   0:00 -bash
root     28516  0.0  0.0   1576   404 ?        S    12:21   0:00 sleep 1
root     28517  0.0  0.1   2096   820 pts/0    R+   12:21   0:00 ps aux

And I can't start anything else - i keep getting errors that it cannot
allocate enough memory. I can tweak the privvmpages a bit more, but I
wanted to ask beforehand if ns-slapd is always so memory hungry?

based on http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_IPA/1.0/html/Release_Notes/sect-Release_Notes-System_Requirements-Hardware_Requirements.html
i should have enough memory allocated to the vps. Is there any way to
trim down ns-slapd's footprint?

Thanks in advance.

--

Best Regards,

Ivan Levchenko
levchenko.i at gmail.com




More information about the Freeipa-users mailing list