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

Zabbix proxy datasender doesn't manage to push out enough data to server?

XMLWordPrintable

      Proxy doesn't seem to push out enough of its history data to the server which results in all items on the proxy lagging behind. After adding some debug statements, I've noticed that it only manages to push out about 1000 records every few seconds:

       32627:20120814:131754.368 Datasender entering history
       32627:20120814:131754.387 Datasender records 1000
       32627:20120814:131800.701 Datasender records history 612000
       32627:20120814:131800.701 Datasender r history 1000
       32627:20120814:131800.701 Datasender entering history
       32627:20120814:131800.719 Datasender records 1000
       32627:20120814:131806.644 Datasender records history 613000
       32627:20120814:131806.644 Datasender r history 1000
       32627:20120814:131806.644 Datasender entering history
       32627:20120814:131806.665 Datasender records 1000
       32627:20120814:131812.560 Datasender records history 614000
       32627:20120814:131812.560 Datasender r history 1000
       32627:20120814:131812.560 Datasender entering history
       32627:20120814:131812.578 Datasender records 1000
       32627:20120814:131816.816 Datasender records history 615000
       32627:20120814:131816.816 Datasender r history 1000
       32627:20120814:131816.816 Datasender entering history
       32627:20120814:131816.833 Datasender records 1000
       32627:20120814:131822.894 Datasender records history 616000
       32627:20120814:131822.894 Datasender r history 1000
       32627:20120814:131822.894 Datasender entering history
      

      While:

      sqlite> select count(*) from proxy_history;
      1339011
      

      and it gets a few hundred values every seconds, which just makes the backlog seem bigger
      The infitie loop in main_datasender_loop() doesn't even seem to ever finish it's first run.
      Also the processes on the main server doesn't seem to be overloaded.
      iperf running from the proxy to the server shows about 300Mbit/s but it only pushes out a tiny portion of it to the server. RTT between those two hosts is 22ms, no packet loss

        1. datasender.c
          8 kB
        2. db_queries.png
          db_queries.png
          69 kB
        3. proxy.png
          proxy.png
          58 kB
        4. queues.png
          queues.png
          40 kB
        5. usage.png
          usage.png
          61 kB

            Unassigned Unassigned
            deejay1 Łukasz Jernaś
            Votes:
            13 Vote for this issue
            Watchers:
            25 Start watching this issue

              Created:
              Updated:
              Resolved: