|
Knowledgebase
Apache Crash
Posted by rvbraj, 07-08-2008, 03:08 AM | Hi All,
The Apache service is getting crash and creaing following logs
[Mon Jul 07 23:52:21 2008] [notice] child pid 12878 exit signal Segmentation fault (11)
[Mon Jul 07 23:52:21 2008] [notice] child pid 12881 exit signal Segmentation fault (11)
[Mon Jul 07 23:52:21 2008] [notice] child pid 12886 exit signal Segmentation fault (11)
[Mon Jul 07 23:52:22 2008] [notice] child pid 12859 exit signal Segmentation fault (11)
[Mon Jul 07 23:52:23 2008] [notice] child pid 12904 exit signal Segmentation fault (11)
[Mon Jul 07 23:52:23 2008] [notice] child pid 12909 exit signal Segmentation fault (11)
[Mon Jul 07 23:52:25 2008] [notice] child pid 12877 exit signal Segmentation fault (11)
Server Specification.
4GB RAM
Apache : 2.0.52
PHP : PHP 5.2.5
MySQL : 5.0.51
httpd.conf
KeepAlive Off
MaxKeepAliveRequests 50
KeepAliveTimeout 10
StartServers 16
MinSpareServers 8
MaxSpareServers 64
ServerLimit 1000
MaxClients 500
MaxRequestsPerChild 5000
ServerSignature On
my.cnf (Seprate box with 2GB RAM)
log-slow-queries = /var/log/mysql/mysql-slow.log
skip-external-locking
skip-locking
skip-innodb
skip-bdb
skip-name-resolve
max_connections = 800
max_user_connections = 800
key_buffer = 36M
key_buffer_size = 64M
myisam_sort_buffer_size = 64M
join_buffer_size = 2M
read_buffer_size = 2M
sort_buffer_size = 3M
thread_stack = 128K
table_cache = 1024
thread_cache_size = 286
interactive_timeout = 25
wait_timeout = 1800
connect_timeout = 10
max_allowed_packet = 16M
max_connect_errors = 999999
query_cache_limit = 8M
query_cache_size = 64M
query_cache_type = 1
tmp_table_size = 16M
old_passwords=1
user=mysql
quick
quote-names
max_allowed_packet = 16M
[isamchk]
key_buffer = 16M
Please guide regarding this.
|
Posted by Srv24x7, 07-08-2008, 03:17 AM | Have you recently installed any modules like Eaccelerator, or any php modules ? Try to rebuild apache and hopefully the errors should go away.
|
Posted by rvbraj, 07-08-2008, 03:27 AM | Hi thanks for your reply, I have recently compailed Apache with Eaccelarator. Please let me if I recompaile the Apache again through easyapache will the problem resolve.
And also I have apache version 2.0.52, if I upgrade the 2.2.9 with eaccelarator will this problem resolve.
Please guide me regarding this. Once again thanks for valuable help.
Last edited by rvbraj; 07-08-2008 at 03:30 AM.
Reason: adding more details
|
Posted by Vinayak_Sharma, 07-08-2008, 03:33 AM | It's better if you use 2.2.x tree for Apache, normally you can have Zend, IonCube and eAccelerator all working together properly.
BYW what PHP version and modules you have installed?
|
Posted by rvbraj, 07-08-2008, 03:45 AM | usr/local/apache/bin/httpd -l
Apache/2.0.63
Compiled in modules:
core.c
mod_access.c
mod_auth.c
mod_include.c
mod_log_config.c
mod_logio.c
mod_env.c
mod_expires.c
mod_unique_id.c
mod_setenvif.c
mod_proxy.c
proxy_connect.c
proxy_ftp.c
proxy_http.c
mod_ssl.c
prefork.c
http_core.c
mod_mime.c
mod_status.c
mod_autoindex.c
mod_asis.c
mod_info.c
mod_suexec.c
mod_cgi.c
mod_negotiation.c
mod_dir.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_rewrite.c
mod_so.c
# php -v
PHP 5.2.5 (cli)
with eAccelerator v0.9.5.3
PHP Configure Modules.
'./configure' '--disable-pdo' '--enable-bcmath' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-sockets' '--prefix=/usr/local' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-curl=/opt/curl/' '--with-freetype-dir=/usr' '--with-gd' '--with-jpeg-dir=/usr' '--with-libxml-dir=/opt/xml2/' '--with-mhash=/opt/mhash/' '--with-mysql' '--with-png-dir=/usr' '--with-ttf' '--with-xpm-dir=/usr/X11R6' '--with-zlib' '--with-zlib-dir=/usr'
Please guide me regarding this.
|
Posted by Vinayak_Sharma, 07-08-2008, 03:55 AM | Was the compilation clean and without error, what is the OS and version, WHM/cPanel version.
Try these
SSH and use command line
/scripts/upcp --force
Then try to recompile from WHM, Main >> Software >> Apache Update
|
Posted by rvbraj, 07-08-2008, 04:06 AM | Thank you for your reply. Can you please let me know if we update the
/scripts/upcp --force will make any issue. Because on this server heavy traffic website is working.
I was installing eAccelator through WHM and the OS version is RHEL4
# /usr/local/cpanel/cpanel -v
Cache-Control: no-cache
Pragma: no-cache
|
| |