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

bizarre memory_limit reqirements

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      With memory_limit=128M in php.ini I did not succeed to see 440 items linked to
      one of the templates and got:

      Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /var/www/localhost/htdocs/zabbix/include/func.inc.php on line 950

      So I've increased memory_limit to 256M , now it works. But then I try to access
      759 items linked from another template again i get the error:

      Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 24 bytes) in /var/www/localhost/htdocs/zabbix/include/func.inc.php on line 950

      It very bizarre that 256M is not sufficient , I mean the interface show only 50 items per page anyway. Just comparing - a webmail application can show
      tens of thousands of emails (not in one page of course, but zabbix does not show all items in one page either, but just 50) with much less memory
      usage. So something seems to be inherently wrong in the implementation of listing items.

      What should I do if I cannot afford to allocate more than 256M of memory for php process? Is there any fix in the plans for this problem?

      Thanks
      Alex

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            piavlo Alexander Piavlo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: