免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5090 | 回复: 2
打印 上一主题 下一主题

[服务应用] [core:notice] [pid 44488:tid 140043770943232] AH00052: child pid 16203 exit sign [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-07-14 20:35 |只看该作者 |倒序浏览
本帖最后由 gron 于 2014-07-15 11:10 编辑

apache 报错日志:

[Mon Jul 14 19:51:17.638040 2014] [core:notice] [pid 44488:tid 140043770943232] AH00052: child pid 16203 exit signal Bus error (7)
[Mon Jul 14 19:51:17.638065 2014] [core:notice] [pid 44488:tid 140043770943232] AH00052: child pid 16307 exit signal Bus error (7)
[Mon Jul 14 19:51:17.638090 2014] [core:notice] [pid 44488:tid 140043770943232] AH00052: child pid 16395 exit signal Bus error (7)
[Mon Jul 14 19:51:17.638138 2014] [core:notice] [pid 44488:tid 140043770943232] AH00052: child pid 16501 exit signal Bus error (7)
[Mon Jul 14 19:51:18.640685 2014] [core:notice] [pid 44488:tid 140043770943232] AH00052: child pid 16183 exit signal Bus error (7)
[Mon Jul 14 19:51:18.640794 2014] [core:notice] [pid 44488:tid 140043770943232] AH00052: child pid 16242 exit signal Bus error (7)
[Mon Jul 14 19:51:19.644009 2014] [core:notice] [pid 44488:tid 140043770943232] AH00052: child pid 17001 exit signal Bus error (7)
[Mon Jul 14 19:51:20.649194 2014] [core:notice] [pid 44488:tid 140043770943232] AH00052: child pid 17104 exit signal Bus error (7)
[Mon Jul 14 19:51:20.649289 2014] [core:notice] [pid 44488:tid 140043770943232] AH00052: child pid 17106 exit signal Bus error (7)
[Mon Jul 14 19:51:21.657874 2014] [core:notice] [pid 44488:tid 140043770943232] AH00052: child pid 17310 exit signal Bus error (7)

请求高手解答!现在问题不好定位在哪里呢,一开始做压力测试就报这个错!平时偶尔也出现。请大神们帮忙分析一下,谢谢!



环境:OS:2*  CPU E5-2609 v2 @ 2.50GHz,16G ,CentOS 6.4_64bit ,apache 2.4.4  ,php-5.4.9  网站使用模版:ThinkPHP 2.0

1、apache
[root@localhost bin]# ./apachectl -l
Compiled in modules:
  core.c
  mod_so.c
  http_core.c
  event.c
[root@localhost bin]# ./apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_event_module (static)
authn_file_module (shared)
authn_core_module (shared)
authz_host_module (shared)
authz_groupfile_module (shared)
authz_user_module (shared)
authz_core_module (shared)
access_compat_module (shared)
auth_basic_module (shared)
reqtimeout_module (shared)
filter_module (shared)
mime_module (shared)
log_config_module (shared)
env_module (shared)
headers_module (shared)
setenvif_module (shared)
version_module (shared)
unixd_module (shared)
status_module (shared)
autoindex_module (shared)
dir_module (shared)
alias_module (shared)
rewrite_module (shared)
php5_module (shared)

[root@localhost bin]# ./apachectl -V
Server version: Apache/2.4.4 (Unix)
Server built:   May 14 2014 06:57:04
Server's Module Magic Number: 20120211:11
Server loaded:  APR 1.4.8, APR-UTIL 1.5.2
Compiled using: APR 1.4.8, APR-UTIL 1.5.2
Architecture:   64-bit
Server MPM:     event
  threaded:     yes (fixed thread count)
    forked:     yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/usr/local/apache"
-D SUEXEC_BIN="/usr/local/apache/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf

<IfModule mpm_event_module>
ServerLimit 100
StartServers 100
ThreadLimit 100
ThreadsPerChild 100
MinSpareThreads 500
MaxSpareThreads 1000
MaxRequestWorkers 10000
MaxRequestsPerChild 10000
</IfModule>

Timeout 20
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
UseCanonicalName Off
AccessFileName .htaccess
ServerTokens Prod
ServerSignature Off
HostnameLookups Off


sysctrl.conf

net.ipv4.tcp_synack_retries = 1
net.ipv4.tcp_syn_retries = 1
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_mem = 94500000 915000000 927000000
net.ipv4.tcp_fin_timeout = 60
net.ipv4.tcp_keepalive_time = 120
fs.file-max = 6553600
net.ipv4.tcp_sack = 0
net.ipv4.ip_local_port_range = 1024    65000
net.ipv4.conf.default.rp_filter = 0
net.core.optmem_max = 65535



2、PHP
phpinfo()
PHP Version => 5.4.9

System => Linux localhost.localdomain 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64
Build Date => May 14 2014 08:48:53
Configure Command =>  './configure'  '--prefix=/usr/local/php' '--with-config-file-path=/usr/local/php/etc/' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql=/usr/local/mysql/' '--with-libxml-dir=/usr/local/libxml2/' '--with-png-dir=/usr/local/libpng/' '--with-jpeg-dir=/usr/local/jpeg6/' '--with-freetype-dir=/usr/local/freetype/' '--with-zlib-dir=/usr/local/zlib/' '--with-mcrypt=/usr/local/libmcrypt/' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--enable-soap' '--enable-mbstring=all' '--enable-sockets'
Server API => Command Line Interface
Virtual Directory Support => enabled
Configuration File (php.ini) Path => /usr/local/php/etc/
Loaded Configuration File => /usr/local/php/etc/php.ini
Scan this dir for additional .ini files => (none)
Additional .ini files parsed => (none)
PHP API => 20100412
PHP Extension => 20100525
Zend Extension => 220100525
Zend Extension Build => API220100525,TS
PHP Extension Build => API20100525,TS
Debug Build => no
Thread Safety => enabled
Zend Signal Handling => disabled
Zend Memory Manager => enabled
Zend Multibyte Support => provided by mbstring
IPv6 Support => enabled
DTrace Support => disabled

Registered PHP Streams => compress.zlib, https, ftps, php, file, glob, data, http, ftp, phar, zip
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters => zlib.*, convert.iconv.*, mcrypt.*, mdecrypt.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies


_______________________________________________________________________

[root@localhost ~]# /usr/local/php/bin/php -m
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dba
dom
ereg
fileinfo
filter
gd
hash
iconv
imagick
json
libxml
magickwand
mbstring
mcrypt
mysql
mysqli
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
redis
Reflection
session
SimpleXML
soap
sockets
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
zip
zlib

[Zend Modules]


论坛徽章:
33
ChinaUnix元老
日期:2015-02-02 08:55:39CU十四周年纪念徽章
日期:2019-08-20 08:30:3720周年集字徽章-周	
日期:2020-10-28 14:13:3020周年集字徽章-20	
日期:2020-10-28 14:04:3019周年集字徽章-CU
日期:2019-09-08 23:26:2519周年集字徽章-19
日期:2019-08-27 13:31:262016科比退役纪念章
日期:2022-04-24 14:33:24
2 [报告]
发表于 2014-07-14 21:16 |只看该作者
MaxRequestsPerChild 10000
这个意思是处理完10000个请求之后就把自己干掉

论坛徽章:
0
3 [报告]
发表于 2014-07-15 11:14 |只看该作者
回复 2# Shell_HAT


    多谢关注,目前我们访问量没那么大,目前配置还可以接受。

昨天一晚加班与程序排查问题原因找到了,原来thinkphp2.0 版本写缓存时报这个apache的错。我们把缓存关掉后就没报错了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP