Bug#419222: [Pkg-openldap-devel] Bug#419222: checkpoint set

Gyuris Szabolcs szimszon at oregpreshaz.eu
Mon Apr 16 16:54:21 UTC 2007


Quanah Gibson-Mount wrote:
> --On Monday, April 16, 2007 9:57 AM +0200 Gyuris Szabolcs
> <szimszon at oregpreshaz.eu> wrote:
> 
>> Hi Quanah!
>>
>> I set the checkpoint to "2048 10".
>>
>> But the shutdown wasn't the problem. The problem is that after variable
>> time slapd won't answer to any questions. The number of threads are
>> growing and the system load too.
> 
> Ah, okay.  I misread it as a being a problem with slapd at shutdown time.
Sorry it's my poor English :(

> First, do you have a DB_CONFIG file in /var/lib/ldap that has been
-- DB_CONFIG --
set_cachesize 0 2097152 0
set_lk_max_objects 1500
set_lk_max_locks 1500
set_lk_max_lockers 1500
-- DB_CONFIG --
It's the debian default.

> properly tuned for your database?  If not, if you could send the output
> of `cat /var/lib/ldap/DB_CONFIG` and `du -h id2entry.bdb`
-- DU --
772K    id2entry.bdb
-- DU --

> Second, how many CPU's does your system have?
1 CPU and it's a vmware-server guest OS.

> Third, what is the total amount of RAM on your system?

cat /proc/meminfo:
MemTotal:       127032 kB
MemFree:          3304 kB
Buffers:          1900 kB
Cached:          17492 kB
SwapCached:      80368 kB
Active:         102400 kB
Inactive:         8784 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       127032 kB
LowFree:          3304 kB
SwapTotal:      579592 kB
SwapFree:       302952 kB
Dirty:             100 kB
Writeback:           0 kB
AnonPages:       88344 kB
Mapped:          13676 kB
Slab:             8172 kB
PageTables:       1564 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:    643108 kB
Committed_AS:   695280 kB
VmallocTotal:   901112 kB
VmallocUsed:      2556 kB
VmallocChunk:   898056 kB


It's not much. I'm going to set 256MB Ram, after the next reboot.

-- 
    \\///   http://linux.oregpreshaz.eu/                Thawte
     O O  / http://www.oregpreshaz.eu/
/=uOO(_)OOu==========================================~   WOT
| E-mail: szimszon az oregpreshaz pont eu
| VoIP  : szimszon a ekiga.net | pgp key id: 049BFAD8   Notary

-------------- 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/6aa263f3/smime.bin


More information about the Pkg-openldap-devel mailing list