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

Heavy locking in cf-serverd

    XMLWordPrintable

    Details

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

      Description

      cf-serverd does heavy locking when its threads handling connections are spawned and finalized. In particular the ACTIVE_THREADS counter and the related lock are likely [1] a source of heavy congestion in high-load environments.

      [1] based on the attached strace from a high-load instance of cf-serverd which demonstrates the threads are fighting over locks almost all the time

        Attachments

          Activity

            People

            • Assignee:
              vpodzime Vratislav Podzimek
              Reporter:
              vpodzime Vratislav Podzimek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel