Ad Widget

Collapse

PHP Fatal error: Allowed memory size of

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tiagosoares
    Member
    Zabbix Certified Specialist
    • Jul 2010
    • 35

    #1

    PHP Fatal error: Allowed memory size of

    People,

    I having this message only when I try to do an ACK in any trigger.

    I already increase the value of memory_limit in php.ini (and restarted the apache). Wathever value that I put into memory_limit I got the error with that value.

    If I use 256M in memory_limit I got the error bellow:

    [Fri Mar 30 14:56:09 2012] [error] [client 189.60.16.90] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 268435456 bytes) in Unknown on line 0, referer: http://leffe.netmaker.com.br/dashboa...0d961fda6540c5

    If I use 512M in memory_limit I got the error bellow:

    [Fri Mar 30 14:49:57 2012] [error] [client 189.60.16.90] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 536870912 bytes) in Unknown on line 0, referer: http://leffe.netmaker.com.br/dashboa...0d961fda6540c5

    Tks in advance!
  • tiagosoares
    Member
    Zabbix Certified Specialist
    • Jul 2010
    • 35

    #2
    Any hints?

    Comment

    • zheng8501
      Junior Member
      • May 2012
      • 1

      #3
      i have the same problem
      the server is run for days,today i try to modify some configs,just get a blank pages

      errors in http-errors.log:

      Code:
       368 [Thu May 17 15:09:54 2012] [error] [client clientname] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 130968 bytes) in /usr/local/www/zabbix/include/db.inc.php on line 1372
       369 [Thu May 17 15:11:29 2012] [error] [client clientname] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 130968 bytes) in /usr/local/www/zabbix/include/db.inc.php on line 1372
       370 [Thu May 17 15:13:05 2012] [error] [client clientname] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 130968 bytes) in /usr/local/www/zabbix/include/db.inc.php on line 1372
      wc -l /usr/local/www/zabbix/include/db.inc.php
      1286 /usr/local/www/zabbix/include/db.inc.php
      only 1286 lines

      php.ini
      memory_limit=256M

      can anybody take a look? thanks

      Comment

      • tiagosoares
        Member
        Zabbix Certified Specialist
        • Jul 2010
        • 35

        #4
        Hey,

        Can you comment and vote here: https://support.zabbix.com/browse/ZBX-4876

        It's about that.

        Many Tks!

        Comment

        Working...