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

Reduce number of zbx_handle_log() calls in preprocessing

XMLWordPrintable

    • Sprint 20
    • 0.5

      zbx_handle_log() function is called in process main loops to ensure proper stdin/stderr redirection after log has been rotated. However when process is not sleeping this adds unnecessary overhead, especially noticeable in pre-processing manager.

      The zbx_handle_log() calls in preprocessing manager must be throttled to be called once per second. We might consider even adding now parameter to zbx_handle_log() and do throttling for all processes (though it probably has low % performance impact in sleep based main loops).

            vso Vladislavs Sokurenko
            wiper Andris Zeila
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: