Project

General

Profile

Bug #9626

Updated by Alexis Mousset over 7 years ago

It seems we have an issue with the conditions to touch the last update files, and it appears that the locks are copies every 10 minutes, even when not necessary. Seen on 4.0, may also be in 3.2. 
 <pre> 
 [root@amo inputs]# rudder agent check 
 WARNING: The file /var/rudder/cfengine-community/last_successful_inputs_update is older than 10 minutes, the agent is probably stuck. Purging the CFEngine lock database... Done 
 ok: Rudder agent check ran without errors. 
 [root@amo inputs]# rudder agent check 
 WARNING: The file /var/rudder/cfengine-community/last_successful_inputs_update is older than 10 minutes, the agent is probably stuck. Purging the CFEngine lock database... Done 
 ok: Rudder agent check ran without errors. 
 </pre> 

 But the last_successful_inputs_update file is only updated when files are actually copied. 

 We should decide in which conditions we want to touch it, and adapt our check script. 

 I may explain a lot of issues with lost process accounting.

Back