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

"PHP Fatal error: Allowed memory size of 134217728 bytes exhausted" in zabbix weblogs.

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Incomplete
    • Icon: Minor Minor
    • None
    • 3.4.13
    • Server (S)
    • None
    • RHEL 7

      Hello,

      My Zabbix server weblogs keep throwing this error:

      [Mon Oct 29 13:36:24.639669 2018] [:error] [pid 20756] [client 10.50.159.15:58453] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /usr/share/zabbix/include/db.inc.php on line 547, referer: https://<hostname>/dashboard/db/zabbix-dynamic-dashboard?refresh=1m&orgId=1
      [Mon Oct 29 13:36:25.692051 2018] [:error] [pid 20747] [client 10.50.159.15:58450] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /usr/share/zabbix/include/classes/api/services/CHistory.php on line 238, referer: https://<hostname>/dashboard/db/zabbix-dynamic-dashboard?refresh=1m&orgId=1

      I have increased the available memory_limit value in /etc/php.ini from the base 128M to 2048M

      But that seems to have no effect, and the error logs aren't now writing about exhausted 2GB memory instead of 128M (default)

       

      Any advice? I am using Zabbix as a datasource for Grafana.

            Unassigned Unassigned
            mbadmin maxwell buehler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: