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

zabbix6.0 can not import template

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Trivial
    • Resolution: Commercial support required
    • None
    • None
    • None
    • None

    Description

      Try to import template via the web ui, but it is unsuccessful, the page response is very slow, and the status window keeps spinning in circles, and I check the front nginx error, seems is and php issue:

      ------------------------------------------------------------------------------

      2022/08/03 07:18:37 [error] 1125975#0: *44007 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in /usr/share/zabbix/include/db.inc.php on line 398" while reading response header from upstream, client: 10.47.44.201, server: z6.abc.xyz, request: "POST /zabbix.php?action=popup.import&output=ajax HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/zabbix.sock:", host: "z6.vivo.xyz", referrer: "http://z6.abc.xyz/templates.php"

      ------------------------------------------------------------------------------

       

      Then, I try change the memory configure in /etc/php-fpm.d/zabbix.conf:

      -------------------------------------------------------------------------------

      php_value[memory_limit] = 1024M
      php_value[post_max_size] = 64M
      php_value[upload_max_filesize] = 20M

      -------------------------------------------------------------------------------

      restart services

      1. systemctl restart php-fpm nginx

       

      But still not work........

      Attachments

        Activity

          People

            zabbix.support Zabbix Support Team
            yediquan@vivo.com Dika Ye
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: