From owner-freebsd-questions@FreeBSD.ORG Sat Oct 3 20:36:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78B17106566B for ; Sat, 3 Oct 2009 20:36:25 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-qy0-f192.google.com (mail-qy0-f192.google.com [209.85.221.192]) by mx1.freebsd.org (Postfix) with ESMTP id 266BF8FC21 for ; Sat, 3 Oct 2009 20:36:24 +0000 (UTC) Received: by qyk30 with SMTP id 30so2370151qyk.7 for ; Sat, 03 Oct 2009 13:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:in-reply-to:message-id:references:user-agent :x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type:content-transfer-encoding; bh=XhDj65X2X/QpCco1xJ6HU3nfxNdi/ORV307iiHUjpSs=; b=jOXOjNT0muzxBthS384YbbCGddTO8zkzHNF5+c6L0xuJ35al7uefbYiwe32cl24Ojz CF0FzCBF5fESgqtzPMphaVszo3AfpTsYuiyvTMBK2Ox3yoE3z1BIYVHtNf4GoFo8q2yL exwsR4lOIQW5qjGiWdrUwmiG6FW8SZPAdjgMY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type:content-transfer-encoding; b=hFRoK6Z3iiS5wpaoK/bFHHekm1JVLlUGUvyplEK2Y/8LLDeQTNtjH+j6/IEFT1RnHO LUNqjKFeUV2o83HWarYJppq/csDAvKUZkI2TaoVFLKlf8MnK2fqCMNpXuxuulPJRoa8g sEvPRBwjERmlSma10fKwThVDJfnOXmpxenRBE= Received: by 10.224.57.21 with SMTP id a21mr2129187qah.122.1254600843567; Sat, 03 Oct 2009 13:14:03 -0700 (PDT) Received: from dimension.5p.local (adsl-99-35-15-84.dsl.klmzmi.sbcglobal.net [99.35.15.84]) by mx.google.com with ESMTPS id 8sm526323qwj.44.2009.10.03.13.14.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 03 Oct 2009 13:14:02 -0700 (PDT) Sender: "J. Hellenthal" Date: Sat, 3 Oct 2009 16:13:54 -0400 From: jhell To: Aflatoon Aflatooni In-Reply-To: <11016.32541.qm@web56202.mail.re3.yahoo.com> Message-ID: References: <35656.54290.qm@web56206.mail.re3.yahoo.com> <44ocoo4eus.fsf@lowell-desk.lan> <11016.32541.qm@web56202.mail.re3.yahoo.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT Cc: freebsd-questions@freebsd.org Subject: Re: Apache20 port on FreeBSD 7.2 does a core dump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2009 20:36:25 -0000 On Sat, 3 Oct 2009 13:38 -0000, aaflatooni wrote: >> Aflatoon Aflatooni writes: >> >>> I am getting a lot of core dumps and Apache20 freezing. >>> I have installed the porting using the following make: >>> >>> make WITHOUT_MODULES="ssl status speling imap auth_dbm auth_digest dav dav_fs >> cern_meta cgi include" install >>> >>> any suggestions as to how I might find out what is causing the problem and the >> core dumps. >> >> The first thing I'd try is re-including the excluded modules. >> If you no longer get the crashes, you can start narrowing in on which >> one is involved.  If you still get the crashes, you'll have to start >> looking at the core files. >> >> I'm assuming you're not used to using a debugger on a core file, >> on the theory that you would have done that already if you were >> comfortable with it. >> > > I originally had them included and I was getting the core dumps, but I removed them because I don't need them and I am still getting the core dumps. > > This is a production box and it would be hard to have debugger turned on. > I don't know if it would be helpful, but PHP is also really slow on this machine. I know that PHP would cause a dump in the php.core file and not apache.core. > > How do I inspect the core file to find out which module caused it? > > Thanks > > Have you any special php5 modules loaded. I had a problem with I want to recall three or more extensions that would cause apache2X to dump core or halt in doing any further actions upon request. If the above is the case you can disable some or all of your php5-extensions in local/etc/php/extensions.ini to test it out. Best of luck. -- %{----------------------------------------------------+ | dataix.net!jhell 2048R/89D8547E 2009-09-30 | | BSD since FreeBSD 4.2 Linux since Slackware 2.1 | | 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E | +----------------------------------------------------%}