Ad Widget

Collapse

Slow Response Time for latest.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bschmidt001
    Junior Member
    • Apr 2011
    • 24

    #1

    Slow Response Time for latest.php

    First off, let me say that I have always considered Zabbix to be a superlative product. That being said...I am running into an issue lately that has me perplexed...

    Using Zabbix version 2.4.2, when using filtering by a host group that has 30 hosts, each with 200-300 items, the response when pulling up latest.php is excruciatingly slow (20-40 seconds).

    Our install of Zabbix uses low-level discovery (LLD) to populate SNMP items (which is why there are so many items for a given host). Rather than have to manually create specific templates and entries for each device, LLD allows us to create several discovery items (interfaces, storage, etc.).

    Note that I have tried partitioning tables, adding indexes, adding more memory to the database server, etc. Data comes back in a reasonable period of time, and there are few queries coming back as slow (over 1 second) in MySQL. After quite a few days of investigation, the bottleneck appears to be **creating** the page, rather than retrieving the information.

    Per the Zabbix change logs, prior to 2.2, the latest.php page pulled down only the data it needed to display the items that are expanded (- next to the host items, instead of the + character) -- resulting in a much faster display time.

    In our system, we only have configured 905 hosts, with 27,935 items enabled. The numbers do not seem to come close to the maximums published, so we would expect to see better performance.

    Two questions:

    1. Is anyone else running a large scale system having the same issue?
    2. Is there a way to enable the old behavior as a setting within Zabbix, or via a patch?

    Our organization is considering switching from Nagios to Zabbix, but need to have comparable performance. Right now, that is not the case for displaying the latest data / current status of items for a given host group.

    Help!
  • bschmidt001
    Junior Member
    • Apr 2011
    • 24

    #2
    re:Slow Response in latest.php

    Does the update in 2.4.3 address the issue we are seeing with slow response from the latest.php code?

    From the Change Log for 2.4.3 (not yet released):

    "Frontend changes

    History related macros - {ITEM.VALUE}, {ITEM.LASTVALUE} and the {host:key.last()} functional macro - now obey the ZBX_HISTORY_PERIOD constant. This limits the amount of data the macro has to sift through and results in better performance."

    Comment

    • Colttt
      Senior Member
      Zabbix Certified Specialist
      • Mar 2009
      • 878

      #3
      if here nobody answer you, maybe ask you question in the IRC , or if you think thats a bug, create a bug report, and also report the bug-number her if anybody have the same issue it will see the bug-status

      Debian-User

      Sorry for my bad english

      Comment

      Working...