Non funziona perche' non facendo mai checkpoint tutti i file di log
risultano in uso.
prova a rimettere la configurazione di checkpointing...
Francesco Malvezzi ha scritto:
> Ho lo stesso DB_CONFIG in due database sullo stesso server opendap
> 2.3.30-5+etch1:
> 
> set_cachesize 0 536870912 1
> set_lg_regionmax 1048576
> set_lg_bsize 2097152
> set_lg_max 10485760
> set_flags DB_LOG_AUTOREMOVE
> 
> mi sfugge perche' la direttiva DB_LOG_AUTOREMOVE funzioni su uno (quello
> gestito con syncrepl), ma per quello locale i log del bdb si accumulano
> a centinaia. Anzi, sembra che proprio non li cancelli mai,
> 
> questo e' il db in cui i log sono correttamente AUTOREMOVEd:
> 
> database        hdb
> suffix          "ou=People,dc=unimore,dc=it"
> rootdn          "cn=*,ou=People,dc=unimore,dc=it"
> rootpw         *
> subordinate
> cachesize     50000
> idlcachesize  200000
> checkpoint    2048 5
> syncrepl rid=253
>         provider=ldap://ldap1.unimo.it:389
>         type=refreshOnly
>         interval=00:00:10:00
>         searchbase="ou=People,dc=unimore,dc=it"
>         filter="(objectClass=*)"
>         scope=sub
>         schemachecking=on
>         sizelimit=50000
>         timelimit=7200
>     starttls=yes
>         updatedn="cn=*,dc=unimore,dc=it"
>         binddn="cn=*,dc=unimore,dc=it"
>         credentials="*"
> directory       /var/lib/ldap-people
> # For the Debian package we use 2MB as default but be sure to update this
> # value if you have plenty of RAM
> dbconfig set_cachesize 0 5097152 0
> 
> questo e' il db in cui l'autorimozione non funziona:
> 
> database        hdb
> suffix          "dc=unimore,dc=it"
> directory       "/var/lib/ldap"
> # For the Debian package we use 2MB as default but be sure to update this
> # value if you have plenty of RAM
> dbconfig set_cachesize 0 5097152 0
> rootdn   "cn=*,dc=unimore,dc=it"
> rootpw   *
> # Number of objects that can be locked at the same time.
> dbconfig set_lk_max_objects 1500
> # Number of locks (both requested and granted)
> dbconfig set_lk_max_locks 1500
> # Number of lockers
> dbconfig set_lk_max_lockers 1500
> #cachesize     50000
> #idlcachesize  200000
> #checkpoint    2048 5
> 
> In realta', dal poco che capisco, l'autorimozione non funziona, ma per
> qualche buon motivo.
> Mi spiego: se cancello i log del bdb, provo a riavviare slapd, non
> riparte perche' cerca di ripristinare il db a partire dai log che non
> trova per cui si pianta.
> 
> Grazie per l'attenzione!
> 
> Francesco
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> OpenLDAP mailing list
> OpenLDAP@mail.sys-net.it
> https://www.sys-net.it/mailman/listinfo/openldap



Ing. Luca Scamoni
Responsabile Ricerca e Sviluppo

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office:  +39 0382 573859 (137)
Mobile:  +39 347 1014425
Fax:     +39 0382 476497
Email:   [EMAIL PROTECTED]
-----------------------------------



_______________________________________________
OpenLDAP mailing list
OpenLDAP@mail.sys-net.it
https://www.sys-net.it/mailman/listinfo/openldap

Reply via email to