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

Crash/exit in poller performing ODBC and LLD after connection to Zabbix DB was lost

    Details

    • Type: Problem report
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 2.0.19rc1, 2.2.14rc1, 3.0.4rc1, 3.2.0alpha1
    • Fix Version/s: None
    • Component/s: Proxy (P), Server (S)
    • Environment:
      Zabbix and ODBC driver must use the same DB client library
    • Team:
      Team A
    • Sprint:
      Sprint 18, Sprint 19, Sprint 20

      Description

      This is an umbrella issue for ZBX-9655 and ZBX-9082 (and potentially more yet undiscovered for other DB backends supported by Zabbix).

      Problem happens when ODBC checks are performed for the same DB engine as used for Zabbix DB. In this case Zabbix and ODBC driver share resources within client library. During ODBC check Zabbix asks unixODBC to connect, query and close connection to the checked database. ODBC driver tend to perform a cleanup on close, which releases resources for Zabbix DB handle too. What happens for MySQL is described in detail in the comment. I believe ZBX-9082 is the same issue for Oracle DB. And similar situations may affect other backends.

      Resource release and crash/exit does not happen after every ODBC check probably because of connection caching and pooling within unixODBC.

      Steps to reproduce:

      • configure unixODBC;
      • create database monitor item with same DB engine as Zabbix backend;
      • create discovery rule;
      • restart DB server.

      (Using one poller and increasing escalator and histsyncer frequencies help.)

      Current trunk (and 3.0) with MySQL crashes:

       30019:20160701:153958.815 Got signal [signal:11(SIGSEGV),reason:128,refaddr:(nil)]. Crashing ...
       30019:20160701:153958.815 ====== Fatal information: ======
       30019:20160701:153958.815 Program counter: 0x7fe536998ecc
       30019:20160701:153958.815 === Registers: ===
       30019:20160701:153958.815 r8      =                0 =                    0 =                    0
       30019:20160701:153958.815 r9      =                0 =                    0 =                    0
       30019:20160701:153958.815 r10     =     7fe535fd2920 =      140622430021920 =      140622430021920
       30019:20160701:153958.815 r11     =                0 =                    0 =                    0
       30019:20160701:153958.815 r12     =     7ffe434b0460 =      140730027410528 =      140730027410528
       30019:20160701:153958.815 r13     =                0 =                    0 =                    0
       30019:20160701:153958.815 r14     =     7fe5370906a0 =      140622447576736 =      140622447576736
       30019:20160701:153958.815 r15     =                0 =                    0 =                    0
       30019:20160701:153958.815 rdi     =     7fe535fd3760 =      140622430025568 =      140622430025568
       30019:20160701:153958.815 rsi     =                0 =                    0 =                    0
       30019:20160701:153958.815 rbp     =     7fe536998df3 =      140622440271347 =      140622440271347
       30019:20160701:153958.815 rbx     = 8883c70000000000 =  9836924813921222656 = -8609819259788328960
       30019:20160701:153958.815 rdx     =                0 =                    0 =                    0
       30019:20160701:153958.815 rax     =                1 =                    1 =                    1
       30019:20160701:153958.815 rcx     = ffffffffffffffff = 18446744073709551615 =                   -1
       30019:20160701:153958.815 rsp     =     7ffe434b03f0 =      140730027410416 =      140730027410416
       30019:20160701:153958.815 rip     =     7fe536998ecc =      140622440271564 =      140622440271564
       30019:20160701:153958.815 efl     =            10206 =                66054 =                66054
       30019:20160701:153958.815 csgsfs  = e87a000000000033 = 16751701763957981235 = -1695042309751570381
       30019:20160701:153958.815 err     =                0 =                    0 =                    0
       30019:20160701:153958.815 trapno  =                d =                   13 =                   13
       30019:20160701:153958.815 oldmask =                0 =                    0 =                    0
       30019:20160701:153958.815 cr2     =                0 =                    0 =                    0
       30019:20160701:153958.815 === Backtrace: ===
       30019:20160701:153958.816 19: src/zabbix_server/zabbix_server: poller #1 [got 0 values in 0.000004 sec, getting values](print_fatal_info+0xae) [0x465ffe]
       30019:20160701:153958.816 18: src/zabbix_server/zabbix_server: poller #1 [got 0 values in 0.000004 sec, getting values]() [0x4662d7]
       30019:20160701:153958.816 17: /lib/x86_64-linux-gnu/libc.so.6(+0x36cb0) [0x7fe535c4bcb0]
       30019:20160701:153958.816 16: /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18(end_server+0x9c) [0x7fe536998ecc]
       30019:20160701:153958.816 15: /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18(mysql_close+0x61) [0x7fe53699ad71]
       30019:20160701:153958.816 14: /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18(+0x367ed) [0x7fe53699c7ed]
       30019:20160701:153958.816 13: /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18(cli_advanced_command+0x10f) [0x7fe53699c9ef]
       30019:20160701:153958.816 12: /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18(mysql_send_query+0x2d) [0x7fe53699adfd]
       30019:20160701:153958.816 11: /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18(mysql_real_query+0x9) [0x7fe53699ae19]
       30019:20160701:153958.816 10: src/zabbix_server/zabbix_server: poller #1 [got 0 values in 0.000004 sec, getting values](zbx_db_vselect+0x8f) [0x4b252f]
       30019:20160701:153958.816 9: src/zabbix_server/zabbix_server: poller #1 [got 0 values in 0.000004 sec, getting values](__zbx_DBselect+0x90) [0x48fec0]
       30019:20160701:153958.816 8: src/zabbix_server/zabbix_server: poller #1 [got 0 values in 0.000004 sec, getting values](lld_process_discovery_rule+0xeb) [0x49917b]
       30019:20160701:153958.816 7: src/zabbix_server/zabbix_server: poller #1 [got 0 values in 0.000004 sec, getting values]() [0x41c27a]
       30019:20160701:153958.816 6: src/zabbix_server/zabbix_server: poller #1 [got 0 values in 0.000004 sec, getting values](poller_thread+0xd8) [0x41d0f8]
       30019:20160701:153958.816 5: src/zabbix_server/zabbix_server: poller #1 [got 0 values in 0.000004 sec, getting values](zbx_thread_start+0x45) [0x466b85]
       30019:20160701:153958.816 4: src/zabbix_server/zabbix_server: poller #1 [got 0 values in 0.000004 sec, getting values](MAIN_ZABBIX_ENTRY+0x3ed) [0x41797d]
       30019:20160701:153958.816 3: src/zabbix_server/zabbix_server: poller #1 [got 0 values in 0.000004 sec, getting values](daemon_start+0x1ad) [0x4658fd]
       30019:20160701:153958.816 2: src/zabbix_server/zabbix_server: poller #1 [got 0 values in 0.000004 sec, getting values](main+0x414) [0x411e64]
       30019:20160701:153958.816 1: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fe535c36f45]
       30019:20160701:153958.816 0: src/zabbix_server/zabbix_server: poller #1 [got 0 values in 0.000004 sec, getting values]() [0x41208f]
       30019:20160701:153958.816 === Memory map: ===
       30019:20160701:153958.816 00400000-00545000 r-xp 00000000 08:01 8913868                            /home/gleb/zabbix-svn/trunk/src/zabbix_server/zabbix_server
       30019:20160701:153958.816 00745000-00746000 r--p 00145000 08:01 8913868                            /home/gleb/zabbix-svn/trunk/src/zabbix_server/zabbix_server
       30019:20160701:153958.816 00746000-0074d000 rw-p 00146000 08:01 8913868                            /home/gleb/zabbix-svn/trunk/src/zabbix_server/zabbix_server
       30019:20160701:153958.816 0074d000-00753000 rw-p 00000000 00:00 0 
       30019:20160701:153958.816 0246b000-0248c000 rw-p 00000000 00:00 0                                  [heap]
       30019:20160701:153958.816 0248c000-024b8000 rw-p 00000000 00:00 0                                  [heap]
       30019:20160701:153958.816 024b8000-024d3000 rw-p 00000000 00:00 0                                  [heap]
       30019:20160701:153958.816 7fe52c000000-7fe52c021000 rw-p 00000000 00:00 0 
       30019:20160701:153958.816 7fe52c021000-7fe530000000 ---p 00000000 00:00 0 
       30019:20160701:153958.816 7fe531240000-7fe531655000 r--p 00000000 08:01 13932                      /usr/lib/locale/locale-archive
       30019:20160701:153958.816 7fe531655000-7fe531666000 r-xp 00000000 08:01 16161                      /usr/lib/x86_64-linux-gnu/libodbcinst.so.1.0.0
       30019:20160701:153958.816 7fe531666000-7fe531865000 ---p 00011000 08:01 16161                      /usr/lib/x86_64-linux-gnu/libodbcinst.so.1.0.0
       30019:20160701:153958.816 7fe531865000-7fe531866000 r--p 00010000 08:01 16161                      /usr/lib/x86_64-linux-gnu/libodbcinst.so.1.0.0
       30019:20160701:153958.816 7fe531866000-7fe531867000 rw-p 00011000 08:01 16161                      /usr/lib/x86_64-linux-gnu/libodbcinst.so.1.0.0
       30019:20160701:153958.816 7fe531867000-7fe5318a2000 r-xp 00000000 08:01 64376                      /usr/lib/x86_64-linux-gnu/odbc/libmyodbc.so
       30019:20160701:153958.816 7fe5318a2000-7fe531aa2000 ---p 0003b000 08:01 64376                      /usr/lib/x86_64-linux-gnu/odbc/libmyodbc.so
       30019:20160701:153958.816 7fe531aa2000-7fe531aa3000 r--p 0003b000 08:01 64376                      /usr/lib/x86_64-linux-gnu/odbc/libmyodbc.so
       30019:20160701:153958.816 7fe531aa3000-7fe531ab1000 rw-p 0003c000 08:01 64376                      /usr/lib/x86_64-linux-gnu/odbc/libmyodbc.so
       30019:20160701:153958.816 7fe531ab1000-7fe531ab2000 rw-p 00000000 00:00 0 
       30019:20160701:153958.816 7fe531ab2000-7fe531ab4000 r-xp 00000000 08:01 10164                      /usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so
       30019:20160701:153958.816 7fe531ab4000-7fe531cb3000 ---p 00002000 08:01 10164                      /usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so
       30019:20160701:153958.816 7fe531cb3000-7fe531cb4000 r--p 00001000 08:01 10164                      /usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so
       30019:20160701:153958.816 7fe531cb4000-7fe531cb5000 rw-p 00002000 08:01 10164                      /usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so
       30019:20160701:153958.816 7fe531cb5000-7fe531cc0000 r-xp 00000000 08:01 9965770                    /lib/x86_64-linux-gnu/libnss_nis-2.19.so
       30019:20160701:153958.816 7fe531cc0000-7fe531ebf000 ---p 0000b000 08:01 9965770                    /lib/x86_64-linux-gnu/libnss_nis-2.19.so
       30019:20160701:153958.816 7fe531ebf000-7fe531ec0000 r--p 0000a000 08:01 9965770                    /lib/x86_64-linux-gnu/libnss_nis-2.19.so
       30019:20160701:153958.816 7fe531ec0000-7fe531ec1000 rw-p 0000b000 08:01 9965770                    /lib/x86_64-linux-gnu/libnss_nis-2.19.so
       30019:20160701:153958.816 7fe531ec1000-7fe531ed8000 r-xp 00000000 08:01 9965724                    /lib/x86_64-linux-gnu/libnsl-2.19.so
       30019:20160701:153958.816 7fe531ed8000-7fe5320d7000 ---p 00017000 08:01 9965724                    /lib/x86_64-linux-gnu/libnsl-2.19.so
       30019:20160701:153958.816 7fe5320d7000-7fe5320d8000 r--p 00016000 08:01 9965724                    /lib/x86_64-linux-gnu/libnsl-2.19.so
       30019:20160701:153958.816 7fe5320d8000-7fe5320d9000 rw-p 00017000 08:01 9965724                    /lib/x86_64-linux-gnu/libnsl-2.19.so
       30019:20160701:153958.816 7fe5320d9000-7fe5320db000 rw-p 00000000 00:00 0 
       30019:20160701:153958.816 7fe5320db000-7fe5320e4000 r-xp 00000000 08:01 9965719                    /lib/x86_64-linux-gnu/libnss_compat-2.19.so
       30019:20160701:153958.816 7fe5320e4000-7fe5322e3000 ---p 00009000 08:01 9965719                    /lib/x86_64-linux-gnu/libnss_compat-2.19.so
       30019:20160701:153958.816 7fe5322e3000-7fe5322e4000 r--p 00008000 08:01 9965719                    /lib/x86_64-linux-gnu/libnss_compat-2.19.so
       30019:20160701:153958.816 7fe5322e4000-7fe5322e5000 rw-p 00009000 08:01 9965719                    /lib/x86_64-linux-gnu/libnss_compat-2.19.so
       30019:20160701:153958.816 7fe5322e5000-7fe5322ef000 r-xp 00000000 08:01 9965805                    /lib/x86_64-linux-gnu/libnss_files-2.19.so
       30019:20160701:153958.816 7fe5322ef000-7fe5324ee000 ---p 0000a000 08:01 9965805                    /lib/x86_64-linux-gnu/libnss_files-2.19.so
       30019:20160701:153958.816 7fe5324ee000-7fe5324ef000 r--p 00009000 08:01 9965805                    /lib/x86_64-linux-gnu/libnss_files-2.19.so
       30019:20160701:153958.816 7fe5324ef000-7fe5324f0000 rw-p 0000a000 08:01 9965805                    /lib/x86_64-linux-gnu/libnss_files-2.19.so
       30019:20160701:153958.816 7fe5324f0000-7fe532506000 r-xp 00000000 08:01 9966627                    /lib/x86_64-linux-gnu/libgcc_s.so.1
       30019:20160701:153958.816 7fe532506000-7fe532705000 ---p 00016000 08:01 9966627                    /lib/x86_64-linux-gnu/libgcc_s.so.1
       30019:20160701:153958.816 7fe532705000-7fe532706000 rw-p 00015000 08:01 9966627                    /lib/x86_64-linux-gnu/libgcc_s.so.1
       30019:20160701:153958.816 7fe532706000-7fe532707000 ---p 00000000 00:00 0 
       30019:20160701:153958.816 7fe532707000-7fe532f07000 rw-p 00000000 00:00 0 
       30019:20160701:153958.816 7fe532f07000-7fe533707000 rw-s 00000000 00:04 20873305                   /SYSV7601004f (deleted)
       30019:20160701:153958.816 7fe533707000-7fe533dd4000 rw-s 00000000 00:04 20774998                   /SYSV6701004f (deleted)
       30019:20160701:153958.816 7fe533dd4000-7fe5341d4000 rw-s 00000000 00:04 20742229                   /SYSV7401004f (deleted)
       30019:20160701:153958.816 7fe5341d4000-7fe5345d4000 rw-s 00000000 00:04 20709460                   /SYSV4801004f (deleted)
       30019:20160701:153958.816 7fe5345d4000-7fe5355d4000 rw-s 00000000 00:04 20676691                   /SYSV6801004f (deleted)
       30019:20160701:153958.816 7fe5355d4000-7fe5355dd000 r-xp 00000000 08:01 16028                      /usr/lib/x86_64-linux-gnu/libltdl.so.7.3.0
       30019:20160701:153958.816 7fe5355dd000-7fe5357dc000 ---p 00009000 08:01 16028                      /usr/lib/x86_64-linux-gnu/libltdl.so.7.3.0
       30019:20160701:153958.816 7fe5357dc000-7fe5357dd000 r--p 00008000 08:01 16028                      /usr/lib/x86_64-linux-gnu/libltdl.so.7.3.0
       30019:20160701:153958.816 7fe5357dd000-7fe5357de000 rw-p 00009000 08:01 16028                      /usr/lib/x86_64-linux-gnu/libltdl.so.7.3.0
       30019:20160701:153958.816 7fe5357de000-7fe5357f7000 r-xp 00000000 08:01 9965725                    /lib/x86_64-linux-gnu/libpthread-2.19.so
       30019:20160701:153958.816 7fe5357f7000-7fe5359f6000 ---p 00019000 08:01 9965725                    /lib/x86_64-linux-gnu/libpthread-2.19.so
       30019:20160701:153958.816 7fe5359f6000-7fe5359f7000 r--p 00018000 08:01 9965725                    /lib/x86_64-linux-gnu/libpthread-2.19.so
       30019:20160701:153958.816 7fe5359f7000-7fe5359f8000 rw-p 00019000 08:01 9965725                    /lib/x86_64-linux-gnu/libpthread-2.19.so
       30019:20160701:153958.816 7fe5359f8000-7fe5359fc000 rw-p 00000000 00:00 0 
       30019:20160701:153958.816 7fe5359fc000-7fe535a14000 r-xp 00000000 08:01 9965880                    /lib/x86_64-linux-gnu/libz.so.1.2.8
       30019:20160701:153958.816 7fe535a14000-7fe535c13000 ---p 00018000 08:01 9965880                    /lib/x86_64-linux-gnu/libz.so.1.2.8
       30019:20160701:153958.816 7fe535c13000-7fe535c14000 r--p 00017000 08:01 9965880                    /lib/x86_64-linux-gnu/libz.so.1.2.8
       30019:20160701:153958.816 7fe535c14000-7fe535c15000 rw-p 00018000 08:01 9965880                    /lib/x86_64-linux-gnu/libz.so.1.2.8
       30019:20160701:153958.816 7fe535c15000-7fe535dcf000 r-xp 00000000 08:01 9965795                    /lib/x86_64-linux-gnu/libc-2.19.so
       30019:20160701:153958.816 7fe535dcf000-7fe535fcf000 ---p 001ba000 08:01 9965795                    /lib/x86_64-linux-gnu/libc-2.19.so
       30019:20160701:153958.816 7fe535fcf000-7fe535fd3000 r--p 001ba000 08:01 9965795                    /lib/x86_64-linux-gnu/libc-2.19.so
       30019:20160701:153958.816 7fe535fd3000-7fe535fd5000 rw-p 001be000 08:01 9965795                    /lib/x86_64-linux-gnu/libc-2.19.so
       30019:20160701:153958.816 7fe535fd5000-7fe535fda000 rw-p 00000000 00:00 0 
       30019:20160701:153958.816 7fe535fda000-7fe535ff1000 r-xp 00000000 08:01 9962597                    /lib/x86_64-linux-gnu/libresolv-2.19.so
       30019:20160701:153958.816 7fe535ff1000-7fe5361f1000 ---p 00017000 08:01 9962597                    /lib/x86_64-linux-gnu/libresolv-2.19.so
       30019:20160701:153958.816 7fe5361f1000-7fe5361f2000 r--p 00017000 08:01 9962597                    /lib/x86_64-linux-gnu/libresolv-2.19.so
       30019:20160701:153958.816 7fe5361f2000-7fe5361f3000 rw-p 00018000 08:01 9962597                    /lib/x86_64-linux-gnu/libresolv-2.19.so
       30019:20160701:153958.817 7fe5361f3000-7fe5361f5000 rw-p 00000000 00:00 0 
       30019:20160701:153958.817 7fe5361f5000-7fe5361f8000 r-xp 00000000 08:01 9965696                    /lib/x86_64-linux-gnu/libdl-2.19.so
       30019:20160701:153958.817 7fe5361f8000-7fe5363f7000 ---p 00003000 08:01 9965696                    /lib/x86_64-linux-gnu/libdl-2.19.so
       30019:20160701:153958.817 7fe5363f7000-7fe5363f8000 r--p 00002000 08:01 9965696                    /lib/x86_64-linux-gnu/libdl-2.19.so
       30019:20160701:153958.817 7fe5363f8000-7fe5363f9000 rw-p 00003000 08:01 9965696                    /lib/x86_64-linux-gnu/libdl-2.19.so
       30019:20160701:153958.817 7fe5363f9000-7fe5364fe000 r-xp 00000000 08:01 9965694                    /lib/x86_64-linux-gnu/libm-2.19.so
       30019:20160701:153958.817 7fe5364fe000-7fe5366fd000 ---p 00105000 08:01 9965694                    /lib/x86_64-linux-gnu/libm-2.19.so
       30019:20160701:153958.817 7fe5366fd000-7fe5366fe000 r--p 00104000 08:01 9965694                    /lib/x86_64-linux-gnu/libm-2.19.so
       30019:20160701:153958.817 7fe5366fe000-7fe5366ff000 rw-p 00105000 08:01 9965694                    /lib/x86_64-linux-gnu/libm-2.19.so
       30019:20160701:153958.817 7fe5366ff000-7fe53675e000 r-xp 00000000 08:01 8668                       /usr/lib/x86_64-linux-gnu/libodbc.so.1.0.0
       30019:20160701:153958.817 7fe53675e000-7fe53695d000 ---p 0005f000 08:01 8668                       /usr/lib/x86_64-linux-gnu/libodbc.so.1.0.0
       30019:20160701:153958.817 7fe53695d000-7fe53695e000 r--p 0005e000 08:01 8668                       /usr/lib/x86_64-linux-gnu/libodbc.so.1.0.0
       30019:20160701:153958.817 7fe53695e000-7fe536965000 rw-p 0005f000 08:01 8668                       /usr/lib/x86_64-linux-gnu/libodbc.so.1.0.0
       30019:20160701:153958.817 7fe536965000-7fe536966000 rw-p 00000000 00:00 0 
       30019:20160701:153958.817 7fe536966000-7fe536c16000 r-xp 00000000 08:01 14389                      /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0
       30019:20160701:153958.817 7fe536c16000-7fe536e16000 ---p 002b0000 08:01 14389                      /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0
       30019:20160701:153958.817 7fe536e16000-7fe536e1b000 r--p 002b0000 08:01 14389                      /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0
       30019:20160701:153958.817 7fe536e1b000-7fe536e99000 rw-p 002b5000 08:01 14389                      /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0
       30019:20160701:153958.817 7fe536e99000-7fe536e9e000 rw-p 00000000 00:00 0 
       30019:20160701:153958.817 7fe536e9e000-7fe536ec1000 r-xp 00000000 08:01 9965729                    /lib/x86_64-linux-gnu/ld-2.19.so
       30019:20160701:153958.817 7fe536f5c000-7fe537090000 rw-s 00000000 00:04 20807767                   /SYSV7301004f (deleted)
       30019:20160701:153958.817 7fe537090000-7fe537096000 rw-p 00000000 00:00 0 
       30019:20160701:153958.817 7fe5370b3000-7fe5370ba000 r--s 00000000 08:01 9983                       /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
       30019:20160701:153958.817 7fe5370ba000-7fe5370bb000 rw-p 00000000 00:00 0 
       30019:20160701:153958.817 7fe5370bb000-7fe5370bd000 rw-s 00000000 00:04 20840536                   /SYSV5301004f (deleted)
       30019:20160701:153958.817 7fe5370bd000-7fe5370be000 rw-p 00000000 00:00 0 
       30019:20160701:153958.817 7fe5370be000-7fe5370c0000 rw-p 00000000 00:00 0 
       30019:20160701:153958.817 7fe5370c0000-7fe5370c1000 r--p 00022000 08:01 9965729                    /lib/x86_64-linux-gnu/ld-2.19.so
       30019:20160701:153958.817 7fe5370c1000-7fe5370c2000 rw-p 00023000 08:01 9965729                    /lib/x86_64-linux-gnu/ld-2.19.so
       30019:20160701:153958.817 7fe5370c2000-7fe5370c3000 rw-p 00000000 00:00 0 
       30019:20160701:153958.817 7ffe4349e000-7ffe43628000 rw-p 00000000 00:00 0                          [stack]
       30019:20160701:153958.817 7ffe43631000-7ffe43633000 r-xp 00000000 00:00 0                          [vdso]
       30019:20160701:153958.817 7ffe43633000-7ffe43635000 r--p 00000000 00:00 0                          [vvar]
       30019:20160701:153958.817 ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
       30019:20160701:153958.817 ================================
       30019:20160701:153958.817 Please consider attaching a disassembly listing to your bug report.
       30019:20160701:153958.817 This listing can be produced with, e.g., objdump -DSswx zabbix_server.
       30019:20160701:153958.817 ================================
       30015:20160701:153958.817 One child process died (PID:30019,exitcode/signal:1). Exiting ...
       30015:20160701:154000.818 syncing history data...
       30015:20160701:154000.818 syncing history data done
       30015:20160701:154000.818 syncing trends data...
       30015:20160701:154000.818 syncing trends data done
       30015:20160701:154000.818 Zabbix Server stopped. Zabbix 3.1.0 (revision {ZABBIX_REVISION}).
      

      Older versions and trunk with automatic reconnection option disabled (in the code) simply exit like in ZBX-9655:

        1990:20160701:162228.321 [Z3005] query failed: [2006] MySQL server has gone away [select hostid,key_,state,evaltype,formula,error,lifetime from items where itemid=23668]
        1990:20160701:162228.321 cannot allocate or initialize MYSQL database connection object
        1986:20160701:162228.321 One child process died (PID:1990,exitcode/signal:1). Exiting ...
        1986:20160701:162230.323 syncing history data...
        1986:20160701:162230.323 syncing history data done
        1986:20160701:162230.323 syncing trends data...
        1986:20160701:162230.326 syncing trends data done
        1986:20160701:162230.326 Zabbix Server stopped. Zabbix 3.1.0 (revision {ZABBIX_REVISION}).
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                glebs.ivanovskis Glebs Ivanovskis (Inactive)
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: