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

Host import with one trigger creates memory peek on web server

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 5.4.9
    • Frontend (F)
    • None

      On a huge infrastructure, when importing one host with one item and one trigger ( inport-host.json ), it will create memory peak for web server and print in web server log:

      [Mon Nov 08 11:46:33.012322 2021] [php7:error] [pid 13] [client 127.0.0.1:55121] PHP Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 20480 bytes) in /usr/share/zabbix/include/db.inc.php on line 398, referer: https://127.0.0.1/hosts.php
      [Mon Nov 08 11:46:33.014983 2021] [php7:error] [pid 13] [client 127.0.0.1:55121] PHP Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 20480 bytes) in /usr/share/zabbix/include/func.inc.php on line 1052, referer: https://127.0.0.1/hosts.php
      

      We already find a fix.patch

        1. fix.patch
          1 kB
        2. huge-infrastructure.png
          huge-infrastructure.png
          19 kB
        3. inport-host.json
          1 kB

            zabbix.dev Zabbix Development Team
            aigars.kadikis Aigars Kadikis
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: