Systemd Zabbix server hangs during shutdown..

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: 6.4.4
    • Component/s: Server (S)
    • None
    • Environment:
      Zabbix HA 6.4.4 with Postgresql DB

      Hi, we have a problem with restart that hangs on zabbix-server, causing that failover is not happening, and proxy servers get saturated.

      It seems like SIGTERM is sticking forever..

      I wonder if it's applicable to modify the systemd service with TimeoutStopSec like this? :

       [Service]
      Environment="CONFFILE=/etc/zabbix/zabbix_server.conf"
      EnvironmentFile=-/etc/sysconfig/zabbix-server
      Type=forking
      Restart=on-failure
      PIDFile=/run/zabbix/zabbix_server.pid
      KillMode=control-group
      ExecStart=/usr/sbin/zabbix_server -c $CONFFILE
      ExecStop=/bin/kill -SIGTERM $MAINPID
      RestartSec=10s
      TimeoutSec=0
      *TimeoutStopSec=30s*
      

            Assignee:
            Zabbix Support Team
            Reporter:
            Søren Dam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: