ExportXMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 8.0.0
    • Component/s: Server (S)
    • None
    • Environment:

      Overview

      On Zabbix server 8.0.0, a child process of the new event-processing engine

      (the "cep" service, which runs the configuration syncer, event manager and

      event processor threads) crashes repeatedly with SIGSEGV while processing

      normal trigger problem/recovery events. Because a child dying on a signal

      forces the main process to exit, the ENTIRE server shuts down cleanly

      (exit code 0) and is then restarted by the container runtime — producing a

      permanent crash-loop roughly every ~70 minutes.

       

      No global event correlation rules are configured, no loadable modules and no

      connectors are in use. Configuration is stock.

      Symptom (main process)

          1:<ts> One child process died (PID:29,exitcode/signal:11). Exiting ...

          1:<ts> cannot send RTC notification to service "event processor" #0:

                 Cannot connect to service "cep": [111] Connection refused.

      Followed by a clean graceful shutdown (history flush, trend export,

      "Zabbix Server stopped. Zabbix 8.0.0 (revision c81e276)."), then container

      restart. On restart the node rejoins HA in standby; the peer node becomes

      active and then crashes the same way ~70 min later, so the two HA nodes

      ping-pong active/standby indefinitely. The crash reproduces INDEPENDENTLY on

      both nodes (separate physical hosts), ruling out host-specific hardware/memory.

       

      Fatal trace (DebugLevel 5, runtime log_level_increase="event processor")

      The crash occurs on a "task type:2" follow-up immediately after an ordinary

      trigger recovery event is processed. Multiple event processor threads are

      active on related tasks at the instant of the crash:

       

          29:<ts> event processor #1 cep_worker_entry() process task type:1

          29:<ts> event processor #1 In cep_worker_process_task_event() source:0 object:0 objectid:361021 name:Cisco IOS: Interface GiX/X/X(NOCS:<switch>): Link down value:0 ts:<...>

          29:<ts> event processor #1 End of cep_worker_process_task_event() event_op:2 tasks:0

          29:<ts> event processor #1 In cep_queue_push_completed() task:1

          29:<ts> event processor #1 In cep_queue_push_next_event_task() source:0 object:0 objectid:361021

          29:<ts> event processor #1 End of cep_queue_push_next_event_task() queued:0

          29:<ts> event processor #1 End of cep_queue_push_completed() pending:0 finished:1

          29:<ts> event processor #4 cep_worker_entry() process task type:2

           1:<ts> One child process died (PID:29,exitcode/signal:11). Exiting ...

       

      Other worker processes simultaneously report loss of the IPC peer as it dies:

          NN:<ts> cannot write to IPC socket: Broken pipe

          NN:<ts> cannot send data to CEP service

          NN:<ts> cannot receive data from CEP service

       

      Steps to reproduce

      1. Run Zabbix server 8.0.0 (PostgreSQL) with default event-processing settings.

      2. Monitor hosts whose triggers routinely change state (e.g. SNMP interface

         link up/down), generating a steady stream of problem/recovery events.

      3. Within ~1 hour an "event processor" child segfaults (SIGSEGV) on a

         "task type:2" and the whole server exits and restarts.

      No event correlation rules are required to trigger it.

       

      Expected result

      The event processor processes trigger problem/recovery events without crashing;

      the server stays up.

       

      Actual result

      An event processor worker segfaults, the main process exits (exit 0), and the

      server crash-loops roughly every ~70 minutes.

       

      Ruled out

      • Not OOM (oomkilled=false, exit=0, no dmesg OOM events)
      • Not database corruption (clean shutdown; Z3008 duplicate-key messages are

        only the normal history dedup during the shutdown flush of the losing HA node)

      • No global event correlation rules, no loadable modules, no connectors
      • Reproduces independently on two separate HA hosts

       

      Impact / severity justification

      The entire server is unavailable for ~1-2 minutes on every crash cycle

      (~every 70 min), continuously, on a stock 8.0.0 install doing ordinary trigger

      processing. There is no configuration workaround — the event-processing engine

      is a core, always-on process with no parameter to disable or reduce (no

      StartEventProcessors-type directive exists in 8.0.0). 8.0.0 is currently the

      only 8.0.x release, so there is no fixed version to upgrade to.

            Assignee:
            Zabbix Support Team
            Reporter:
            Nathan Hendershot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: