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

"Something impossible has just happened" at <cache.c,tfc_index_add>, revision:c7c3044a4a2, line:311

    XMLWordPrintable

Details

    • Team A
    • Sprint 93 (Oct 2022), Sprint 94 (Nov 2022), Sprint 95 (Dec 2022)
    • 0.125

    Description

      Steps to reproduce:

      I cannot link the crash to any particular action. This has happened on weekend, when nothing was being done on the server

      Result:

      Logs of the crash:

      zabbix_server [1514337]: ERROR [file and function: <cache.c,tfc_index_add>, revision:c7c3044a4a2, line:311] Something impossible has just happened.
      1514337:20221001:100001.917 === Backtrace: ===
      1514337:20221001:100001.918 20: /usr/sbin/zabbix_server: history syncer #3 [processed 1000 values, 540 triggers in 0.125820 sec, syncing history](zbx_backtrace+0x52) [0x55686508fe7a]
      1514337:20221001:100001.918 19: /usr/sbin/zabbix_server: history syncer #3 [processed 1000 values, 540 triggers in 0.125820 sec, syncing history](+0x38ed06) [0x5568651a5d06]
      1514337:20221001:100001.918 18: /usr/sbin/zabbix_server: history syncer #3 [processed 1000 values, 540 triggers in 0.125820 sec, syncing history](zbx_tfc_put_value+0x2f8) [0x5568651a6735]
      1514337:20221001:100001.918 17: /usr/sbin/zabbix_server: history syncer #3 [processed 1000 values, 540 triggers in 0.125820 sec, syncing history](zbx_trends_eval_avg+0xa4) [0x5568651a4dc6]
      1514337:20221001:100001.918 16: /usr/sbin/zabbix_server: history syncer #3 [processed 1000 values, 540 triggers in 0.125820 sec, syncing history](+0x237d78) [0x55686504ed78]
      1514337:20221001:100001.918 15: /usr/sbin/zabbix_server: history syncer #3 [processed 1000 values, 540 triggers in 0.125820 sec, syncing history](+0x2387c4) [0x55686504f7c4]
      1514337:20221001:100001.918 14: /usr/sbin/zabbix_server: history syncer #3 [processed 1000 values, 540 triggers in 0.125820 sec, syncing history](evaluate_function2+0x55c) [0x55686505288f]
      1514337:20221001:100001.918 13: /usr/sbin/zabbix_server: history syncer #3 [processed 1000 values, 540 triggers in 0.125820 sec, syncing history](+0x24ff75) [0x556865066f75]
      1514337:20221001:100001.918 12: /usr/sbin/zabbix_server: history syncer #3 [processed 1000 values, 540 triggers in 0.125820 sec, syncing history](+0x250639) [0x556865067639]
      1514337:20221001:100001.918 11: /usr/sbin/zabbix_server: history syncer #3 [processed 1000 values, 540 triggers in 0.125820 sec, syncing history](evaluate_expressions+0x1e1) [0x556865067aa5]
      1514337:20221001:100001.918 10: /usr/sbin/zabbix_server: history syncer #3 [processed 1000 values, 540 triggers in 0.125820 sec, syncing history](+0x1eb89c) [0x55686500289c]
      1514337:20221001:100001.918 9: /usr/sbin/zabbix_server: history syncer #3 [processed 1000 values, 540 triggers in 0.125820 sec, syncing history](+0x1efcd5) [0x556865006cd5]
      1514337:20221001:100001.918 8: /usr/sbin/zabbix_server: history syncer #3 [processed 1000 values, 540 triggers in 0.125820 sec, syncing history](zbx_sync_history_cache+0x8b) [0x556865007823]
      1514337:20221001:100001.918 7: /usr/sbin/zabbix_server: history syncer #3 [processed 1000 values, 540 triggers in 0.125820 sec, syncing history](dbsyncer_thread+0x228) [0x556864e941fe]
      1514337:20221001:100001.918 6: /usr/sbin/zabbix_server: history syncer #3 [processed 1000 values, 540 triggers in 0.125820 sec, syncing history](zbx_thread_start+0x3b) [0x5568650a158c]
      1514337:20221001:100001.918 5: /usr/sbin/zabbix_server: history syncer #3 [processed 1000 values, 540 triggers in 0.125820 sec, syncing history](+0x699c2) [0x556864e809c2]
      1514337:20221001:100001.918 4: /usr/sbin/zabbix_server: history syncer #3 [processed 1000 values, 540 triggers in 0.125820 sec, syncing history](MAIN_ZABBIX_ENTRY+0x87c) [0x556864e8199c]
      1514337:20221001:100001.918 3: /usr/sbin/zabbix_server: history syncer #3 [processed 1000 values, 540 triggers in 0.125820 sec, syncing history](daemon_start+0x3ca) [0x55686508f99d]
      1514337:20221001:100001.918 2: /usr/sbin/zabbix_server: history syncer #3 [processed 1000 values, 540 triggers in 0.125820 sec, syncing history](main+0x34d) [0x556864e7fea2]
      1514337:20221001:100001.918 1: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fec977cc0b3]
      1514337:20221001:100001.918 0: /usr/sbin/zabbix_server: history syncer #3 [processed 1000 values, 540 triggers in 0.125820 sec, syncing history](_start+0x2e) [0x556864e7eb0e]
      1514313:20221001:100001.940 One child process died (PID:1514337,exitcode/signal:1). Exiting ...
      1514313:20221001:100002.349 PROCESS EXIT: 1514337
      1514314:20221001:100002.351 HA manager has been paused
      zabbix_server [1514313]: Error waiting for process with PID 1514337: [10] No child processes
      1514313:20221001:100002.625 syncing history data...
      1514313:20221001:100002.654 [Z3008] query failed due to primary key constraint: [0] PGRES_FATAL_ERROR:ERROR:  duplicate key value violates unique constraint "313_181_history_pkey"
      DETAIL:  Key (itemid, clock, ns)=(375553, 1664611200, 258688604) already exists.1514313:20221001:100003.038 skipped 127 duplicates
      1514313:20221001:100003.245 [Z3008] query failed due to primary key constraint: [0] PGRES_FATAL_ERROR:ERROR:  duplicate key value violates unique constraint "313_181_history_pkey"
      DETAIL:  Key (itemid, clock, ns)=(375585, 1664611200, 315294545) already exists.1514313:20221001:100003.784 skipped 419 duplicates
      1514313:20221001:100003.918 [Z3008] query failed due to primary key constraint: [0] PGRES_FATAL_ERROR:ERROR:  duplicate key value violates unique constraint "313_181_history_pkey"
      DETAIL:  Key (itemid, clock, ns)=(368926, 1664611200, 878063344) already exists.1514313:20221001:100004.139 skipped 229 duplicates
      zabbix_server [1514313]: ERROR [file and function: <cache.c,tfc_index_add>, revision:c7c3044a4a2, line:311] Something impossible has just happened.
      1514313:20221001:100004.240 === Backtrace: ===
      1514313:20221001:100004.242 20: /usr/sbin/zabbix_server(zbx_backtrace+0x52) [0x55686508fe7a]
      1514313:20221001:100004.242 19: /usr/sbin/zabbix_server(+0x38ed06) [0x5568651a5d06]
      1514313:20221001:100004.242 18: /usr/sbin/zabbix_server(zbx_tfc_put_value+0x2f8) [0x5568651a6735]
      1514313:20221001:100004.242 17: /usr/sbin/zabbix_server(zbx_trends_eval_avg+0xa4) [0x5568651a4dc6]
      1514313:20221001:100004.242 16: /usr/sbin/zabbix_server(+0x237d78) [0x55686504ed78]
      1514313:20221001:100004.242 15: /usr/sbin/zabbix_server(+0x2387c4) [0x55686504f7c4]
      1514313:20221001:100004.242 14: /usr/sbin/zabbix_server(evaluate_function2+0x55c) [0x55686505288f]
      1514313:20221001:100004.242 13: /usr/sbin/zabbix_server(+0x24ff75) [0x556865066f75]
      1514313:20221001:100004.242 12: /usr/sbin/zabbix_server(+0x250639) [0x556865067639]
      1514313:20221001:100004.242 11: /usr/sbin/zabbix_server(evaluate_expressions+0x1e1) [0x556865067aa5]
      1514313:20221001:100004.242 10: /usr/sbin/zabbix_server(+0x1eb89c) [0x55686500289c]
      1514313:20221001:100004.242 9: /usr/sbin/zabbix_server(+0x1efcd5) [0x556865006cd5]
      1514313:20221001:100004.242 8: /usr/sbin/zabbix_server(+0x1f0407) [0x556865007407]
      1514313:20221001:100004.242 7: /usr/sbin/zabbix_server(+0x1f2ad2) [0x556865009ad2]
      1514313:20221001:100004.242 6: /usr/sbin/zabbix_server(free_database_cache+0x42) [0x556865009b4e]
      1514313:20221001:100004.242 5: /usr/sbin/zabbix_server(zbx_on_exit+0xe7) [0x556864e82004]
      1514313:20221001:100004.242 4: /usr/sbin/zabbix_server(MAIN_ZABBIX_ENTRY+0xde2) [0x556864e81f02]
      1514313:20221001:100004.242 3: /usr/sbin/zabbix_server(daemon_start+0x3ca) [0x55686508f99d]
      1514313:20221001:100004.242 2: /usr/sbin/zabbix_server(main+0x34d) [0x556864e7fea2]
      1514313:20221001:100004.242 1: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fec977cc0b3]
      1514313:20221001:100004.242 0: /usr/sbin/zabbix_server(_start+0x2e) [0x556864e7eb0e]
       

      If there is anything else i can attach, then please request it.

      Attachments

        Issue Links

          Activity

            People

              wiper Andris Zeila
              p.wrzecionowski Piotr Wrzecionowski
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: