2月中旬将zabbix server的版本从2.4.7升级到最新的3.0.0,最大的改善是web界面,万年不变的UI,立马有了现代feel。可是今天在频繁调试actions时,zabbix出现连接不上的情况。
16647:20160315:162344.190 Got signal [signal:11(SIGSEGV),reason:1,refaddr:0x56e7c688]. Crashing ... 16647:20160315:162344.190 ====== Fatal information: ====== 16647:20160315:162344.190 Program counter: 0x337e87b53c 16647:20160315:162344.191 === Registers: === 16647:20160315:162344.191 r8 = 0 = 0 = 0 16647:20160315:162344.191 r9 = 0 = 0 = 0 16647:20160315:162344.191 r10 = 0 = 0 = 0 16647:20160315:162344.191 r11 = 246 = 582 = 582 16647:20160315:162344.191 r12 = e12da0 = 14757280 = 14757280 16647:20160315:162344.191 r13 = 56e7c690 = 1458030224 = 1458030224 16647:20160315:162344.191 r14 = 7fff28f14dcc = 140733880290764 = 140733880290764 16647:20160315:162344.191 r15 = 7fff28f14c58 = 140733880290392 = 140733880290392 16647:20160315:162344.191 rdi = 56e7c690 = 1458030224 = 1458030224 16647:20160315:162344.191 rsi = 4cd9be = 5036478 = 5036478 16647:20160315:162344.191 rbp = 7fff28f14c50 = 140733880290384 = 140733880290384 16647:20160315:162344.191 rbx = 7fff28f14cd0 = 140733880290512 = 140733880290512 16647:20160315:162344.191 rdx = e125ae = 14755246 = 14755246 16647:20160315:162344.191 rax = 0 = 0 = 0 16647:20160315:162344.191 rcx = 4cd9be = 5036478 = 5036478 16647:20160315:162344.191 rsp = 7fff28f14bf8 = 140733880290296 = 140733880290296 16647:20160315:162344.191 rip = 337e87b53c = 221166155068 = 221166155068 16647:20160315:162344.191 efl = 10206 = 66054 = 66054 16647:20160315:162344.191 csgsfs = 57e6000000000033 = 6333749925943181363 = 6333749925943181363 16647:20160315:162344.191 err = 4 = 4 = 4 16647:20160315:162344.191 trapno = e = 14 = 14 16647:20160315:162344.191 oldmask = 0 = 0 = 0 16647:20160315:162344.191 cr2 = 56e7c688 = 1458030216 = 1458030216 16647:20160315:162344.191 === Backtrace: === 16647:20160315:162344.191 12: /app/zabbix_2.4.7/sbin/zabbix_server: escalator #1 [processed 0 escalations in 0.000000 sec, processing escalations](print_fatal_info+0xa6) [0x476786] 16647:20160315:162344.191 11: /app/zabbix_2.4.7/sbin/zabbix_server: escalator #1 [processed 0 escalations in 0.000000 sec, processing escalations]() [0x476ea6] 16647:20160315:162344.191 10: /lib64/libc.so.6() [0x337e8326a0] 16647:20160315:162344.191 9: /lib64/libc.so.6(cfree+0x1c) [0x337e87b53c] 16647:20160315:162344.191 8: /app/zabbix_2.4.7/sbin/zabbix_server: escalator #1 [processed 0 escalations in 0.000000 sec, processing escalations]() [0x434d82] 16647:20160315:162344.191 7: /app/zabbix_2.4.7/sbin/zabbix_server: escalator #1 [processed 0 escalations in 0.000000 sec, processing escalations]() [0x4379d4] 16647:20160315:162344.191 6: /app/zabbix_2.4.7/sbin/zabbix_server: escalator #1 [processed 0 escalations in 0.000000 sec, processing escalations](escalator_thread+0x148) [0x4380f8] 16647:20160315:162344.191 5: /app/zabbix_2.4.7/sbin/zabbix_server: escalator #1 [processed 0 escalations in 0.000000 sec, processing escalations](zbx_thread_start+0x62) [0x477442] 16647:20160315:162344.191 4: /app/zabbix_2.4.7/sbin/zabbix_server: escalator #1 [processed 0 escalations in 0.000000 sec, processing escalations](MAIN_ZABBIX_ENTRY+0x77b) [0x4169ab] 16647:20160315:162344.191 3: /app/zabbix_2.4.7/sbin/zabbix_server: escalator #1 [processed 0 escalations in 0.000000 sec, processing escalations](daemon_start+0x1a5) [0x475b05] 16647:20160315:162344.191 2: /app/zabbix_2.4.7/sbin/zabbix_server: escalator #1 [processed 0 escalations in 0.000000 sec, processing escalations](main+0x3df) [0x416f0f]
经过一番折腾,各种查找资料,发现这是版本bug引起的。这里贴下这个bug的一些信息:
bug代号:ZBX-10291
bug引起问题:server crash
bug影响版本:3.0.0
bug修复版本:3.0.1rc2, 3.1.0 (trunk)
解决办法:
将3.0.0升级到3.0.1,问题立马解决!
经验教训:
1、重要环境,不要轻易尝试最新稳定版本,久经考验的次新问题版本往往更保险;
2、重要应用,应经常关注它的新版本发布解决的bug,如有严重bug应尽快安排修复。
官网bug链接: