From owner-freebsd-stable@FreeBSD.ORG Tue Oct 18 14:32:25 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DD23106564A for ; Tue, 18 Oct 2011 14:32:25 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 466448FC14 for ; Tue, 18 Oct 2011 14:32:25 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RGAiN-0003ew-Mp for freebsd-stable@freebsd.org; Tue, 18 Oct 2011 16:32:23 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Oct 2011 16:32:23 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Oct 2011 16:32:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Tue, 18 Oct 2011 16:32:11 +0200 Lines: 33 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig92789A1AFB892489F83E50F4" X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111004 Thunderbird/7.0.1 X-Enigmail-Version: 1.1.2 Subject: Setting coredumpsize on a running process? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2011 14:32:25 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig92789A1AFB892489F83E50F4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I have PHP executing as fastcgi via the mod_fcgid module in Apache. I suspect there is a bug in PHP or one of its extensions which causes it to crash with sigsegv, but I cannot get any coredumps. I suspect something is setting coredumpsize to 0 - either Apache, mod_fcgid or PHP.= So the question is: is there a way to set coredumpsize on a running process, with the intention of getting a core dump when it crashes? I already tried setting CoreDumpDirectory in Apache and also configuring apache22limits_args in /etc/rc.conf but without effect. --------------enig92789A1AFB892489F83E50F4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6djesACgkQldnAQVacBchXSQCeKJAvn5w/pjkU+U5bFDmIUiwr LwwAn1IvrDqIlL9DOxczk7mdWhf24v2v =mmqT -----END PGP SIGNATURE----- --------------enig92789A1AFB892489F83E50F4--