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

Hostsite (hosts.php?form=update) freezes with 4500 Usermacros

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 5.0.22, 6.0.3
    • None
    • Zabbix v.5.0.12
      virtual zabbixserver
      8Cores, 16GB RAM

      3x virtual proxys
      4Cores, 16GB RAM

      2x hardware db-server
      2x 8Core CPU, 128GB RAM

      Hello,

      we have a problem with loading the MacroTab from the Hostpage. The Browser stalls and is asking to terminate the tab. 
      Also updating the host is impossible in the UI. 

      Steps to reproduce:

      1. fill host with a lot of usermacros with API usermacro.create
      2. Navigate to Host 
      3. Click on screen element Macro
      4. Wait forever...

      Guess:

      The MacroTab tries to load all usermacros within the same page and the database struggels to get the data. To load 5000 items is not a problem for zabbix because only 50 rows are loaded at the same time.

        1. hosts.jpg
          66 kB
          Julian Stolp
        2. macrotab.jpg
          154 kB
          Julian Stolp
        3. slow.jpg
          100 kB
          Julian Stolp
        4. image-2022-04-14-23-24-06-797.png
          73 kB
          Aleksandrs Petrovs-Gavrilovs

            zabbix.dev Zabbix Development Team
            stolp.julian Julian Stolp
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: