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

Systemd Zabbix server hangs during shutdown..

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 6.4.4
    • Server (S)
    • None
    • 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*
      

            zabbix.support Zabbix Support Team
            soda Søren Dam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: