Posted in Linux/Unix/OpenSource by: sean
1 Comment
27 Jul
I’ve had some problems with Apache and I’d like a core dump when it happens so I can get a backtrace.
It’s harder than you think. Red Hat has 2 documents on it: this and that.
The summary of those is to add
CoreDumpDirectory /var/apache-dump
to httpd.conf, and make that directory 777. Then, edit some startup scripts […]
Posted in Linux/Unix/OpenSource by: sean
No Comments
03 Jul
Whenever you generate an RPM (rpmbuild -ba foo.spec), an package called foo-debuginfo is also created.
My original thoughts were that this created a debugging version of the binary, ie the same version compiled with -g, because (*hitches up suspenders*) that’s the way we used to do it. So, I’d delete them.
After needing to get a backtrace […]