Date: Tue, 23 Jul 2002 19:27:14 -0700 From: "Lucky Green" <shamrock@cypherpunks.to> To: <ports@FreeBSD.org> Subject: How to get Apache to dump a core file? Message-ID: <01aa01c232b9$a0fb5680$6501a8c0@LUCKYVAIO>
next in thread | raw e-mail | index | archive | help
I am using apache13-modssl/Makefile,v 1.106 This and previous versions of the Apache port occasionally crash with signal 11. (I am familiar with the signal 11 FAQ; my RAM is fine :) 1) How do I get Apache to save a core file when it crashes? While other applications on my system generate core files when crashing, Apache does not. I added CoreDumpDirectory "/tmp" to my httpd.conf to no avail. I still don't get a core file. 2) To facilitate debugging, I would like to compile the port with symbols, that is to say with option "-g". Rather than introducing unknowns by compiling Apache by hand, I would like to compile the port from a modified port Makefile, with the addition of the -g option being the only change to the port. Unfortunately, I am unclear where in the Port Makefile to stick this option. Can somebody please let me know how and where the Port Makefile should be modified to compile the port with -g? Thanks in advance, --Lucky Green <shamrock@cypherpunks.to> STARTTLS in your mailer prevents snooping and government mandated cleartext retention. If you don't know how to enable STARTTLS, email me for details. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01aa01c232b9$a0fb5680$6501a8c0>