HomePage » WebServer » Apache » ApacheCoreDumps


Core dumps and Apache

Install the debug info packages
yum --enablerepo rhel-debuginfo install gd-debuginfo httpd-debuginfo kernel-debuginfo mysql-debuginfo php-debuginfo



Enabled apache core dumps
* /etc/httpd/conf/httpd.conf
	CoreDumpDirectory /tmp
* /etc/security/limits.conf
	apache           -       core            unlimited
* /etc/sysconfig/httpd
	DAEMON_COREFILE_LIMIT=unlimited


Analyze the core dumps
gdb /usr/local/apache2/bin/httpd /tmp/core.2027
...
Core was generated by `/usr/local/apache2/bin/httpd -k start'
...
(gdb) bt full

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki