[389-users] Monitoring recovering

Noriko Hosoi nhosoi at redhat.com
Tue Jun 2 16:39:00 UTC 2009


David Boreham wrote:
> Rich Megginson wrote:
>> Emmanuel BILLOT wrote:
>>> Hi,
>>>
>>> When DS is crashed, sometimes logs sayes "Recovering Database" and i 
>>> have to wait for minutes before it re run.
>>> Is it possible to watch what DS is doing (recovering progression ?)
>> No, not really.  I suppose you could strace the process.  I think all 
>> of the work is being done inside of berkeley db, I'm not sure how to 
>> get that information.
> There's a way to enable recovery logging in BDB, and have the output 
> go to the DS logs.
> Unfortunately I don't remember how to do it, but it probably isn't 
> hard to figure out from the code.
> Having done that, the progress can be seen by tailing the log.
Could it be "nsslapd-db-verbose"?

It can be turned on by setting the directive in the backend config in 
dse.ldif.

dn: cn=config,cn=ldbm database,cn=plugins,cn=config
[...]
nsslapd-db-verbose: on
[...]
> There's a more advanced progress monitoring mechanism in BDB now, but 
> the DS doesn't use it.
>
>
> -- 
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3250 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20090602/54fed54e/attachment.bin>


More information about the Fedora-directory-users mailing list