cf_lastseen.db gets updated when

1. our client connects to an external server (outgoing)
2. our server dumps its cache of recent (incoming) connections (roughly
every 15 mins)

M

On 01/19/2011 05:08 PM, JIM AMANATIDIS, BLOOMBERG/ 731 LEXIN wrote:
> 
> ah, okay, well that explains why the individual files don't get updated. I'll 
> remove those from the server. 
> 
> I'll stay tuned on why cf_lastseen.db only gets updated every so often. 
> 
> Thanks!
> 
> ----- Original Message -----
> From: Mark Burgess <mark.burg...@iu.hio.no>
> To: help-cfengine@cfengine.org
> At:  1/19 11:06:20
> 
> 
> Indeed, this is correct. The hostname files were never supposed to be
> active for normal users. This was only for testing, as you could quickly
> fill up a disk with these files.
> 
> /var/cfengine/cf_LastSeen.db.HOSTNAME* has been moved to a sub directory
> and is switched off by default. Only the cf_lastseen.db is now used.
> Note the change in capitalization.
> 
> 
> 
> On 01/19/2011 05:02 PM, JIM AMANATIDIS, BLOOMBERG/ 731 LEXIN wrote:
>>
>> Hi,
>>   I've been using the same build process, so not sure why it may have 
>> stopped working when I upgraded to 3.0.5p1.  But to clarify, 
>>
>> /var/cfengine/cf_LastSeen.db updates every once in a while, but files such as
>> /var/cfengine/cf_LastSeen.db.HOSTNAME* do not update.
>>
>> I am using the following revisions:
>> cfengine-3.0.5p1B1
>> db-4.2.52.NC
>> pcre-8.01
>> openssl-0.9.8d
>>
>> I am also trying to rebuild and test these revisions:
>> cfengine-3.1.2
>> openssl-1.0.0c
>> pcre-8.11
>> db-5.1.19.NC
>>
>> - Jim
>>
>>
>>
>>
>>
>>   
>>
>> ----- Original Message -----
>> From: Mark Burgess <mark.burg...@iu.hio.no>
>> To: help-cfengine@cfengine.org
>> At:  1/19 10:53:43
>>
>>
>> Nova uses Tokyocabinet,  but .db files are Berkeley DB. Could it be that
>> your version of Cfengine is compiled incorrectly somehow, or you've got
>> some parts using one and not the other?
>>
>> On 01/19/2011 04:44 PM, Frans Lawaetz wrote:
>>>
>>>> I experienced the same issue running on Solaris 10, cfengine v3.0.5p1.
>>>> Any luck in finding out?
>>> Deb & Jim, I've opened a bug report on this issue if you want to keep 
>>> track and/or chime in.
>>> https://cfengine.com/bugtracker/view.php?id=445
>>>
>>> Deb - I don't know if Nova (which is what I think you use) defaults to 
>>> using Tokyocabinet but my last seen database is cf_lastseen.db.  There 
>>> is also a "lastseen" directory in /var/cfengine though mine is empty.  
>>> That your were continuing to see old lastseen information suggests you 
>>> either hit the wrong file or there was a lingering cf-serverd process 
>>> that was keeping an open file handle on the file you thought you removed.
>>>
>>> Anecdotally, I've noticed cfengine seems to update the db only 
>>> periodically.  Doing a looping stat of the lastseen db file shows 
>>> modification only happening every few minutes though there is constant 
>>> load on the system from client access.  After I removed my lastseen 
>>> database there was only an entry for the master for some time.  When I 
>>> checked the next day it had populated again.
>>>
>>> _______________________________________________
>>> Help-cfengine mailing list
>>> Help-cfengine@cfengine.org
>>> https://cfengine.org/mailman/listinfo/help-cfengine
>> _______________________________________________
>> Help-cfengine mailing list
>> Help-cfengine@cfengine.org
>> https://cfengine.org/mailman/listinfo/help-cfengine
>> _______________________________________________
>> Help-cfengine mailing list
>> Help-cfengine@cfengine.org
>> https://cfengine.org/mailman/listinfo/help-cfengine
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to