See the documentation for your kernel. Even though you have 4GB of
memory, on a 32-bit system, the kernel cannot allocate all of it for
user processes.
How big is your database? What is the size of your id2entry.db4 file?
You usually want to have your nsslapd-cachememsize large enough to hold
your database in memory, if possible. That gives the most boost to
performance. You probably want to leave nsslapd-dbcachesize at the
default size - it does not impact performance nearly as much.
du -h id2entry.db4
2.3G id2entry.db4
OK - so I need the cachememsize to be > 2.3G - I'll have a read about
kernel limitations then - I had thought 32bit = 4Gb.
Thanks.
Jim.