Answer the question
In order to leave comments, you need to log in
Why is apache crashing?
Hello, Apache crashes periodically. The server is running ubuntu 14.04, Apache/2.4.10, PHP 5.5.12-2ubuntu4.1 (cli) (built: Oct 29 2014 11:59:49)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0 , Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend
Technologies
[email protected]:/# gdb /usr/sbin/apache2 /tmp/apache-coredumps/core
GNU gdb (Ubuntu 7.8-1ubuntu4) 7.8.0.20141001-cvs
Copyright (C) 2014 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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/apache2...Reading symbols from /usr/lib/debug//usr/sbin/apache2...done.
done.
[New LWP 4294]
[New LWP 4300]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/apache2 -k start'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f254a2027f6 in i_create_execute_data_from_op_array (nested=<optimized out>, op_array=<optimized out>) at /build/buildd/php5-5.5.12+dfsg/Zend/zend_execute.c:1631
1631 /build/buildd/php5-5.5.12+dfsg/Zend/zend_execute.c: No such file or directory.
(gdb)
traps: apache2[7886] general protection ip:7feb364a67f6 sp:7fffafe896b0 error:0 in libphp5.so[7feb3602f000+8c6000]
Answer the question
In order to leave comments, you need to log in
need more info
gdb /usr/sbin/apache2 -c /tmp/apache-coredumps/core \
--eval-command='set pagination off' \
--eval-command='bt full' \
--eval-command='quit' >> /tmp/apache-coredumps/gdb-bt.log
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question