Bug#419222: [Pkg-openldap-devel]
Gyuris Szabolcs
szimszon at oregpreshaz.eu
Mon Apr 16 18:53:56 UTC 2007
Quanah Gibson-Mount wrote:
>
>
> --On Monday, April 16, 2007 6:54 PM +0200 Gyuris Szabolcs
> <szimszon at oregpreshaz.eu> wrote:
>
>> Quanah Gibson-Mount wrote:
>>> --On Monday, April 16, 2007 9:57 AM +0200 Gyuris Szabolcs
>>> <szimszon at oregpreshaz.eu> 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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3347 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20070416/3d8f94b5/smime.bin
More information about the Pkg-openldap-devel
mailing list