- 论坛徽章:
- 0
|
本帖最后由 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]
|
|