ZABBIX客户端的安装、配置
1 篇帖子 分页: 1 / 1
帖子wangzhenfly » 2018年 10月 16日 11:15 星期二
版本 Zabbix Server. Zabbix 3.4.3 (revision 73588)
httpd: httpd-2.4.6-80.el7.centos.x86_64.rpm
php: php-5.4.16-42.el7.x86_64.rpm
zabbix server 数据库用的pg, 崩溃时段,zabbix server 日志无异常。
/etc/httpd 下产生大量dmp (平均每分钟生成20个左右,大小8.4MB),文件名类似core-httpd-9991-1527732816.dmp
状况: 某一次请求zabbix API 时,触发崩溃,然后httpd就会一直持续的崩溃,每两三秒生成一个dmp; 重启httpd 能恢复正常,过几个小时或者一两天的时间后,又会出现一次,目前只能通过监测异常,强制重启httpd的方式规避,查不出原因。

httpd-崩溃全部资料-百度网盘
地址链接: https://pan.baidu.com/s/1bptlfpBECXGQAntMDU64Nw 提取码: pnzk

dmp 的gdb堆栈信息

[root@localhost httpd]# gdb /usr/sbin/httpd ./core-httpd-11866-1533017464.dmp
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-100.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/httpd...Reading symbols from /usr/sbin/httpd...(no debugging symbols found)...done.
(no debugging symbols found)...done.
[New LWP 11866]

warning: .dynamic section for "/lib64/libpq.so.5" is not at the expected address (wrong library or version mismatch?)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/sbin/httpd -DFOREGROUND'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f24fce00542 in strcmp () from /lib64/ld-linux-x86-64.so.2
Missing separate debuginfos, use: debuginfo-install httpd-2.4.6-80.el7.centos.x86_64
(gdb) bt
#0 0x00007f24fce00542 in strcmp () from /lib64/ld-linux-x86-64.so.2
#1 0x00007f24fcdefa72 in _dl_map_object () from /lib64/ld-linux-x86-64.so.2
#2 0x00007f24fcdfa9a4 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#3 0x00007f24fcdf6314 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#4 0x00007f24fcdfa30b in _dl_open () from /lib64/ld-linux-x86-64.so.2
#5 0x00007f24fb636a72 in do_dlopen () from /lib64/libc.so.6
#6 0x00007f24fcdf6314 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#7 0x00007f24fb636b32 in __libc_dlopen_mode () from /lib64/libc.so.6
#8 0x00007f24fb60d609 in __nss_lookup_function () from /lib64/libc.so.6
#9 0x00007f24fb5be5ba in internal_getgrouplist () from /lib64/libc.so.6
#10 0x00007f24fb5be8ca in initgroups () from /lib64/libc.so.6
#11 0x00007f24f41cf364 in set_group_privs.part.0 () from /etc/httpd/modules/mod_unixd.so
#12 0x00007f24f41cf614 in unixd_drop_privileges () from /etc/httpd/modules/mod_unixd.so
#13 0x00007f24fd030eab in ap_run_drop_privileges ()
#14 0x00007f24f2c483ce in child_main () from /etc/httpd/modules/mod_mpm_prefork.so
#15 0x00007f24f2c489f5 in make_child () from /etc/httpd/modules/mod_mpm_prefork.so
#16 0x00007f24f2c4968e in prefork_run () from /etc/httpd/modules/mod_mpm_prefork.so
#17 0x00007f24fd030ffe in ap_run_mpm ()
#18 0x00007f2

/var/log/httpd/error_log 日志:

[Tue Jul 31 12:46:42.081338 2018] [suexec:notice] [pid 3546] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message
[Tue Jul 31 12:46:42.105441 2018] [auth_digest:notice] [pid 3546] AH01757: generating secret for digest authentication ...
[Tue Jul 31 12:46:42.106110 2018] [lbmethod_heartbeat:notice] [pid 3546] AH02282: No slotmem from mod_heartmonitor
[Tue Jul 31 12:46:42.126458 2018] [mpm_prefork:notice] [pid 3546] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Tue Jul 31 12:46:42.126484 2018] [core:notice] [pid 3546] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Tue Jul 31 14:09:40.631104 2018] [core:notice] [pid 3546] AH00052: child pid 3743 exit signal Segmentation fault (11)
[Tue Jul 31 14:09:46.635184 2018] [core:notice] [pid 3546] AH00052: child pid 3735 exit signal Segmentation fault (11)
[Tue Jul 31 14:09:46.635246 2018] [core:notice] [pid 3546] AH00052: child pid 6263 exit signal Segmentation fault (11)
[Tue Jul 31 14:09:47.636909 2018] [core:notice] [pid 3546] AH00051: child pid 32403 exit signal Segmentation fault (11), possible coredump in /etc/httpd
[Tue Jul 31 14:09:48.637740 2018] [core:notice] [pid 3546] AH00051: child pid 32506 exit signal Segmentation fault (11), possible coredump in /etc/httpd
[Tue Jul 31 14:09:48.637788 2018] [core:notice] [pid 3546] AH00051: child pid 32507 exit signal Segmentation fault (11), possible coredump in /etc/httpd
[Tue Jul 31 14:09:50.641616 2018] [core:notice] [pid 3546] AH00051: child pid 32657 exit signal Segmentation fault (11), possible coredump in /etc/httpd
1 篇帖子 分页: 1 / 1

登录

在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客