Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-11263

java gateway shutdown can fail

XMLWordPrintable

      java gateway shutdown.sh sends SIGTERM and waits for 5 seconds. if gateway is still running, that's declared to be a failure.

      it is suggested to try harder - if shutdown doesn't happen for some reason (maybe broken jvm, maybe something else...), send SIGKILL.

      it is suggested to increase the current timeout of 5 seconds to more before SIGKILL is sent - maybe 10 or 15. to avoid typing out all numbers, perhaps a method like the first example in http://stackoverflow.com/a/14300729/272387 is helpful.

      it might be worth making "shutdown timeout" configurable, too.

            Unassigned Unassigned
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: