Forum: Cfengine Help
Subject: Re: !! Too many open databases
Author: eystein
Link to topic: https://cfengine.com/forum/read.php?3,16784,16792#msg-16792

Hi there,

My initial guess would be that the server opens database handles without 
closing them.
Is there anything particular happening in your policy at midnight?

Did you compile Cfengine, and if so, use gcc, or did you use a precompiled 
package?
Which database implementation are you using - Tokyo Cabinet, Berkeley or Quick 
DBM (e.g. do a ldd of cf-serverd)?

If you run the server in debug mode (append " -d2" to its command string), 
you'll see which databases gets opened, e.g. 
"OpenDB(/var/cfengine/state/cf_state.db)".
Additionally, if you're using anything but Berkeley, you'll also see calls to 
CloseDB().
This allows to determine databases that are opened but not closed.

In any case, this does seem like a bug - perhaps you can move the issue to 
bug.cfengine.com?

--
Regards,
Eystein

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to