Project

General

Profile

Actions

Bug #27155

closed

Rudder agent on Rudder server causes excessive writes.

Added by Michel BOUISSOU 2 days ago. Updated about 15 hours ago.

Status:
Rejected
Priority:
To review
Assignee:
-
Category:
System techniques
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

It has been observed that a Rudder server with a few number of nodes attached and otherwise mostly inactive, still shows a heavy disk write activity of about 3.6 GB/hour or ~86 GB/day.

This has been narrowed down to the activity of the Rudder agent on the Rudder server.

This has been further narrowed down to a couple ncf rules in /var/rudder/cfengine-community/inputs/common/1.0/update.cf, in which commenting out the following section cuts the overall server write activity down by -85% to -90% :

    # root_server::
    #   "${g.rudder_ncf}/common" 
    #     copy_from         => copy_digest_without_perms("${g.rudder_ncf_origin_common}"),
    #     depth_search      => recurse_ignore("inf", @{g.ncf_excludedreps}),
    #     perms             => u_mog("644", "root", "0"),
    #     action            => immediate,
    #     move_obstructions => "true",
    #     classes           => success("rudder_ncf_common_updated", "rudder_ncf_common_update_error", "rudder_ncf_common_updated_ok"),
    #     comment           => "Update the common Rudder ncf instance";

    #   "${g.rudder_ncf}/local" 
    #     copy_from         => copy_digest_without_perms("${g.rudder_ncf_origin_local}"),
    #     depth_search      => recurse_ignore("inf", @{g.ncf_excludedreps}),
    #     perms             => u_mog("600", "root", "0"),
    #     action            => immediate,
    #     move_obstructions => "true",
    #     classes           => success("rudder_ncf_local_updated", "rudder_ncf_local_update_error", "rudder_ncf_local_updated_ok"),
    #     comment           => "Update the local Rudder ncf instance";

Files

Srv_act_all_up_250624a.png (44.6 KB) Srv_act_all_up_250624a.png Behaviour with normal rules Michel BOUISSOU, 2025-06-24 15:56
Srv_act_tech_commented_250624b.png (35.1 KB) Srv_act_tech_commented_250624b.png Behaviour with commented out paragraph Michel BOUISSOU, 2025-06-24 15:56

Related issues 1 (1 open0 closed)

Is duplicate of Rudder - Bug #26384: rudder agent update is really slowIn progressAlexis MoussetActions
Actions #1

Updated by François ARMAND about 15 hours ago

  • Status changed from New to Rejected

After assessment, it happens to be a duplicate of #26384

Actions #2

Updated by François ARMAND about 15 hours ago

  • Is duplicate of Bug #26384: rudder agent update is really slow added
Actions

Also available in: Atom PDF