Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-13121

CPU statistics collection is initialized in collector instead of main process

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 4.0.0alpha1
    • Agent (G)
    • UNIX
    • Team C
    • Sprint 27, Sprint 28, Sprint 29, Sprint 30, Sprint 31, Sprint 32, Sprint 33, Sprint 34, Sprint 35
    • 0.5

      It looks like init_cpu_collector() function which does many things including creation of mutex for collected CPU usage data is called by collector process. It leaves a (minuscule) chance that listener or active process may attempt to get CPU data before mutex is created and initialized leading to various unpleasant results.

      Initialization of any shared resource should be done by main process. Before other processes start.

            MVekslers Michael Veksler
            glebs.ivanovskis Glebs Ivanovskis (Inactive)
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: