Thanks for your suggestions.
I tried it out and here is the result (everything is after startup and
without any load or work. The numbers are the virtual memory that ps shows):
- default configuration ~ 122MB
- reduce db cache from 10MB to 1 MB ~ 113MB
- reduce number of threads from 30 to 3 ~ 57MB
- disable unneeded plugins ~ 55MB
BTW This is still a factor of 5 higher than OpenLdap, which takes about 10MB
From what you wrote and from what I read and what my tests shows: It
seems that FDS is good for huge databases with high load, but not for the
small ones with limited computer resources.
From: Gerald Richter [mailto:email@example.com]
Sent: Thursday, December 22, 2005 6:23 AM
Subject: reducing memory footprint?
I just made a test installation of FDS and saw that a
ns-slapd without any user data takes about 120MB of (virtual)
memory on my system.
I would like to run it on a system which limited memory
resources, so I am looking for a way to use less memory.
I don't have high load on that system and never more than one
or two quries in parallel, so it would be quite ok to reduce
the number of threads and things like this, but beside
reducing the cache size of the backend DB I didn't find any
hints what can be done in this direction.
** Virus checked by BB-5000 Mailfilter **