Ad Widget

Collapse

Performance issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Xyue
    Member
    • Jan 2016
    • 93

    #1

    Performance issue

    Hi Guys,

    I assigned a template to a new host where the template will auto discover everything about my switches.

    However, when i tried to access the data through "latest data", is shows zabbix server is currently unable to handle this request and the error code is HTTP ERROR 500.

    I checked the zabbix server log and http log. No error from zabbix server log but based on http log, it seems like memory not enough

    "Allowed memory size of 134217728 bytes exhausted (tried to allocate 80 bytes) "

    So, i have go to /etc/php.ini and modified the parameter as below:
    memory_limit = 512M
    max_execution_time = 600

    I restart both service for http and zabbix server but still having the error when i go to "latest data".

    Can any one suggest what else i need to modified ?

    Thank you very much in advance.
    Last edited by Xyue; 21-03-2017, 09:40.
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #2
    Originally posted by Xyue
    Hi Guys,

    I assigned a template to a new host where the template will auto discover everything about my switches.

    However, when i tried to access the data through "latest data", is shows zabbix server is currently unable to handle this request and the error code is HTTP ERROR 500.

    I checked the zabbix server log and http log. No error from zabbix server log but based on http log, it seems like memory not enough

    "Allowed memory size of 134217728 bytes exhausted (tried to allocate 80 bytes) "

    So, i have go to /etc/php.ini and modified the parameter as below:
    memory_limit = 512M
    max_execution_time = 600

    I restart both service for http and zabbix server but still having the error when i go to "latest data".

    Can any one suggest what else i need to modified ?

    Thank you very much in advance.
    see if helps :

    http://stackoverflow.com/questions/4...es-exhausted-t

    and see if your items are supported.
    if you ran your snmp command via cli does it work ? can you post here ?

    Comment

    • Xyue
      Member
      • Jan 2016
      • 93

      #3
      Hi batchenr,

      Based on the link you provided,

      http://stackoverflow.com/questions/4...es-exhausted-t

      I edited the file at etc/httpd/conf.d/zabbix.conf and change php_value memory_limit to 512M, then restart the service. It was working after that.

      Thank you very much

      Comment

      Working...