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

proxy data sender should sleep CONFIG_PROXYDATA_FREQUENCY - sec

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Minor Minor
    • None
    • 2.2.7
    • Proxy (P)
    • None

      In the current implementation, proxy data sender will sleep the specified time in DataSenderFrequency, regardless of sending elaps time.

      --- zabbix-2.2.7/src/zabbix_proxy/datasender/datasender.c-    Fri Oct 24 20:54:43 2014
      +++ zabbix-2.2.7/src/zabbix_proxy/datasender/datasender.c       Thu Jan 15 19:11:47 2015
      @@ -200,6 +200,6 @@
                      zbx_setproctitle("%s [sent %d values in " ZBX_FS_DBL " sec, idle %d sec]",
                                      get_process_type_string(process_type), records, sec, CONFIG_PROXYDATA_FREQUENCY);
       
      -               zbx_sleep_loop(CONFIG_PROXYDATA_FREQUENCY);
      +               zbx_sleep_loop(CONFIG_PROXYDATA_FREQUENCY - (int)sec);
              }
       }
      

            Unassigned Unassigned
            komeda KOMEDA Shinji
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: