Ad Widget

Collapse

500 Error on Monitoring-> hosts Page Error & PHP Fatal Error Allowed Memory Size of..

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Cossy
    Junior Member
    • Mar 2022
    • 16

    #1

    500 Error on Monitoring-> hosts Page Error & PHP Fatal Error Allowed Memory Size of..

    Dear Zabbix Forum Community,

    I have recently upgraded my Zabbx server to 5.0.31 on Red Hat 8 and I am getting the "500 Error on Monitoring-> hosts Page".

    I have checked a few oif the logs in the /var/log/ directory and the only errors that I can see are:

    [Tue Jun 27 21:35:10.186895 2023] [proxy_fcgi:error] [pid 19767] [client 10.50.0.190:62519] AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 9437184 bytes) in /usr/share/zabbix/include/classes/api/services/CProblem.php on line 342\n', referer: http://zabbix2.XXX.com/zabbix.php?action=dashboard.view
    [Tue Jun 27 21:35:11.145817 2023] [proxy_fcgi:error] [pid 19772] [client 10.50.0.190:62521] AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /usr/share/zabbix/include/db.inc.php on line 396\n', referer: http://zabbix.XXX.com/zabbix.php?action=dashboard.view
    [Tue Jun 27 21:35:37.066981 2023] [proxy_fcgi:error] [pid 19775] [client 10.50.0.190:62518] AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /usr/share/zabbix/include/db.inc.php on line 396\n', referer: http://zabbix.XXX.com/actionconf.php

    The server has plenty of memory so I sus[ect a parameter or two need a little tweaking.

    Any ideas as to which parameters need adjusting?

    Regards,

    Cossy​
  • Cossy
    Junior Member
    • Mar 2022
    • 16

    #2
    I've managed to resolve the issue by increasing the php_value[memory_limit] from 128MB to 1024MB.

    Are there any guidelines for what are appropriate values for a Zabbix server monitoring 100 servers?

    Thanks.​

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #3
      Originally posted by Cossy
      I've managed to resolve the issue by increasing the php_value[memory_limit] from 128MB to 1024MB.

      Are there any guidelines for what are appropriate values for a Zabbix server monitoring 100 servers?
      These php parameters do not matter for Zabbix server itself, be it 100 or 1000 or 10000 monitored hosts... php is for frontend and server can work without it (for example on another server).

      Comment

      Working...