Ad Widget

Collapse

What does Zabbix do when the php max_execution_time is exceeded?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • slydog
    Junior Member
    • Oct 2014
    • 16

    #1

    What does Zabbix do when the php max_execution_time is exceeded?

    What exactly does Zabbix 2.2.6 [on RHEL 6.2] do if the configured PHP time limits are exceeded?
    Code:
    php_value [B]max_execution_time[/B] 300
    php_value memory_limit 128M
    php_value post_max_size 16M
    php_value upload_max_filesize 2M
    php_value [B]max_input_time[/B] 300
    These are the php_value lines I added to the HTTP server according to the installation instructions.

    Any clarification will be very appreciated! Thank you!
  • jan.garaj
    Senior Member
    Zabbix Certified Specialist
    • Jan 2010
    • 506

    #2
    If the configured PHP time limits are exceeded, then PHP will raise fatal error:
    Code:
    Fatal error: Maximum execution time of 300 seconds exceeded in ...
    It depends on server config how server will deal with fatal error - it can print it into output, or it can suppress it. You should to see it in the error log.

    But that's the only frontend problem. It won't affect zabbix-server.

    Check PHP manual for more details:
    Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
    My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / Vagrant

    Comment

    • slydog
      Junior Member
      • Oct 2014
      • 16

      #3
      Thank you, jan.garaj!

      Comment

      Working...