Ad Widget

Collapse

Last Data - Php Maximum execution time of 300 seconds exceeded

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • goofylamy
    Junior Member
    • Aug 2013
    • 9

    #1

    Last Data - Php Maximum execution time of 300 seconds exceeded

    I have Zabbix 2.2.1 in node configuration. On the master node, I can't bring anything up from the "Latest Data" tab. On the Apache log, it has the following error: PHP Fatal error: Maximum execution time of 300 seconds exceeded in /usr/share/zabbix/include/func.inc.php on line 276, referer: http://somehost/zabbix/dashboard.php.

    I updated the /etc/php.ini setting to 600 seconds and still.

    Any ideas?
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    Did you checked if the value might be set somewhere else too, e.g.:
    Code:
    [root@example ~]# grep max_execution_time /etc/httpd/conf.d/zabbix.conf
        php_value max_execution_time 300
    [root@example ~]#

    Comment

    • goofylamy
      Junior Member
      • Aug 2013
      • 9

      #3
      Ah... Forgot to check Apache. Thank you!!!

      Increasing the max_execution_time didn't help in my case. I think this is a bug or something is wrong on with my setup. Selecting "Latest Data" with all groups and all hosts selected, the CPU will spike up until max execution time is reached. I have about 39 systems configured on this node.

      Anyone experienced the same issue?

      Thanks,

      Comment

      • BDiE8VNy
        Senior Member
        • Apr 2010
        • 680

        #4
        Possibly: ZBX-7205

        Comment

        • goofylamy
          Junior Member
          • Aug 2013
          • 9

          #5
          It could be related to ZBX-7205. I'm getting "PHP Fatal error: Maximum execution time of 600 seconds exceeded /usr/share/zabbix/include/func.inc.php on line 277". Zabbix 2.2.x in a multi-node configuration, the master node uses a lot more memory than version 2.0.x. I had Zabbix 2.0.x setup before with 8GB and it was well under that limit. With Zabbix version 2.2.x, I had to bump the memory up to 16GB otherwise it will be swapping.

          Thanks,

          Comment

          Working...