Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-911

cf-serverd scans for inputs files every second

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.3
    • Component/s: cf-serverd
    • Labels:
      None

      Description

      3.5.2 cf-serverd scans for inputs files every second. Compare to 3.4.x, it did every 10s. Is it too much? How can we ensure that in slow/busy machines/filesystems, cf-serverd will not act up or downgrade performance.

      <pre>

      • Enterprise 3.0.0, Core 3.4.1
        11:37:30.555982 lstat("/var/cfengine/inputs/xxx.cf", {st_mode=S_IFREG|0600, st_size=216, ...}) = 0 <0.000006>
        11:37:40.577505 lstat("/var/cfengine/inputs/xxx.cf", {st_mode=S_IFREG|0600, st_size=216, ...}

        ) = 0 <0.000006>
        11:37:50.590764 lstat("/var/cfengine/inputs/xxx.cf",

        {st_mode=S_IFREG|0600, st_size=216, ...}) = 0 <0.000005>
        11:38:00.605450 lstat("/var/cfengine/inputs/xxx.cf", {st_mode=S_IFREG|0600, st_size=216, ...}

        ) = 0 <0.000006>

      • Enterprise 3.5.2
        11:55:05.367920 lstat("/var/cfengine/inputs/xxx.cf", {st_mode=S_IFREG|0644, st_size=216, ...}) = 0 <0.000005>
        11:55:06.378899 lstat("/var/cfengine/inputs/xxx.cf", {st_mode=S_IFREG|0644, st_size=216, ...}

        ) = 0 <0.000024>
        11:55:07.396487 lstat("/var/cfengine/inputs/xxx.cf",

        {st_mode=S_IFREG|0644, st_size=216, ...}) = 0 <0.000005>
        11:55:08.413449 lstat("/var/cfengine/inputs/xxx.cf", {st_mode=S_IFREG|0644, st_size=216, ...}

        ) = 0 <0.000022>
        11:55:09.425362 lstat("/var/cfengine/inputs/xxx.cf",

        {st_mode=S_IFREG|0644, st_size=216, ...}) = 0 <0.000005>
        11:55:10.442105 lstat("/var/cfengine/inputs/xxx.cf", {st_mode=S_IFREG|0644, st_size=216, ...}

        ) = 0 <0.000022>
        </pre>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10040 Kristian Amlie
                Reporter:
                a10005 Nakarin Phooripoom (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel