Quanah Gibson-Mount wrote: > > > --On Monday, April 16, 2007 6:54 PM +0200 Gyuris Szabolcs > <[EMAIL PROTECTED]> wrote: > >> Quanah Gibson-Mount wrote: >>> --On Monday, April 16, 2007 9:57 AM +0200 Gyuris Szabolcs >>> <[EMAIL PROTECTED]> wrote: > > Okay, definitely add "threads 8" to the global section of slapd.conf. > The default number of threads for slapd is 16, which is substantially > past the mark for most systems, and has a rather negative impact. I have set it.
>>> Third, what is the total amount of RAM on your system? >> >> cat /proc/meminfo: >> MemTotal: 127032 kB > > Well, 128MB should be okay if slapd's BDB cache is only 2MB. > > Another setting you should likely set would be the cachesize, in the > database specific area of slapd.conf. Given that your total number of > entries is small, I'd set it to that number (for example, "cachesize > 1000" for a 1000 entry DB). Done. > If things freeze again, can you please get the output of: > > db_stat -h /var/lib/ldap -c I'll keep an eye on it. Thank you!
smime.p7s
Description: S/MIME Cryptographic Signature