Detect PHP timeout approaching before it happens. Return a nice error message for browser

XMLWordPrintable

    • Type: Change Request
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: None

      We have tons of cases when zabbix users update a huge template and are getting PHP timeout, which is actually a blank page in browser.

      Would it be possible to implement own timeout control and display a nice message in zabbix frontend instead of a reacing PHP fatal error with blank page ?

      A link I quickly found for the topic https://stackoverflow.com/questions/7493676/detecting-a-timeout-for-a-block-of-code-in-php

      That would be useful even if we will improve the templates management so such operations will not be heavy like currently.

            Assignee:
            Unassigned
            Reporter:
            Oleksii Zagorskyi
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: