From owner-freebsd-questions@FreeBSD.ORG Sat Oct 3 20:49:55 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 BDFAB1065670 for ; Sat, 3 Oct 2009 20:49:55 +0000 (UTC) (envelope-from aaflatooni@yahoo.com) Received: from web56205.mail.re3.yahoo.com (web56205.mail.re3.yahoo.com [216.252.110.214]) by mx1.freebsd.org (Postfix) with SMTP id 5DC588FC08 for ; Sat, 3 Oct 2009 20:49:55 +0000 (UTC) Received: (qmail 59897 invoked by uid 60001); 3 Oct 2009 20:49:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1254602994; bh=NjwUb3XEU3Hvjlb+lC+CCRfDfwUEfsaIgzCn47WYKwQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Vy+q/up3qAqtz40K6WdzgSScukD/Fq49mtaGb1PldGujEMdB/6ueGu33z6b1wnfT6J4ZYxGbCS4VNt0DBjm/pmnpygK5PvkO2huURpXDMYWel5j0/GhgfVI1957TcRISuv3l0+LHdurHDQIUPt8rHEHH0KuAV7lZBnfRdPa9ikQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=OGEAT/NvuRpKHOSRKvThQBjqe3PO9Byl01rZHSwVTnDV1HG3QysoKgqYWXDocvMNP851JSOAMAPtUxhLKVv9rrTLLbNidxG7j45lLXe1TNvOXUxybdrMIcEK4DOUhklqrn1PGC64CFlyx6d9o2ZIlvSnwRnKZN8G1d7PCNSZc/Y=; Message-ID: <741337.59760.qm@web56205.mail.re3.yahoo.com> X-YMail-OSG: peiAsKYVM1kz4_3iRP0chr51Yty_MEARJvPW.8lrv3HitptQSErA0IEdkHtHgmgT2OE4Eeto5yGYX_cu1b1cKVyxMJiaxuFeij4iy0aSWqqv2LykrVF_ZekZqbDRkmWCTFcX36ovTAAbhPsQk9PC8OQhZewSb7_PXHuH0oOscH_5Tes0FnWVkBR7ee.ZcD5fYKEXlVkWG9.NycvG1URwdcYmJGEYSVtYVREUtnf4Axi7Ah8A3_l9txRB09OOIZlIyDTPPwO8vPIsTcD_IPB5m840CoZAuoG9xlcpbk_zyC4DkIj8yu2woN2GYCjpD9XyFyq3jTeMbKywLun6OeHAZB16gNDOZXsfn7nnDQ1RkhMBVGA7OBtXQTKQY5WZdcTu3s0L5vrg8jSSrTyZyxmpaf92piNWIJTW5mrRlYwUEDaP Received: from [67.204.54.15] by web56205.mail.re3.yahoo.com via HTTP; Sat, 03 Oct 2009 13:49:54 PDT X-Mailer: YahooMailRC/157.18 YahooMailWebService/0.7.347.3 References: <35656.54290.qm@web56206.mail.re3.yahoo.com> <44ocoo4eus.fsf@lowell-desk.lan> <11016.32541.qm@web56202.mail.re3.yahoo.com> Date: Sat, 3 Oct 2009 13:49:54 -0700 (PDT) From: Aflatoon Aflatooni To: freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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:49:55 -0000 > On Sat, 3 Oct 2009 13:38 -0000, aaflatooni wrote:=0A> =0A> >> Aflatoon Af= latooni writes:=0A> >>=0A> >>> I am getting a lot of core dumps and Apache2= 0 freezing.=0A> >>> I have installed the porting using the following make:= =0A> >>>=0A> >>> make WITHOUT_MODULES=3D"ssl status speling imap auth_dbm a= uth_digest dav =0A> dav_fs=0A> >> cern_meta cgi include" install=0A> >>>=0A= > >>> any suggestions as to how I might find out what is causing the proble= m and =0A> the=0A> >> core dumps.=0A> >>=0A> >> The first thing I'd try is = re-including the excluded modules.=0A> >> If you no longer get the crashes,= you can start narrowing in on which=0A> >> one is involved.=A0 If you stil= l get the crashes, you'll have to start=0A> >> looking at the core files.= =0A> >>=0A> >> I'm assuming you're not used to using a debugger on a core f= ile,=0A> >> on the theory that you would have done that already if you were= =0A> >> comfortable with it.=0A> >>=0A> >=0A> > I originally had them inclu= ded and I was getting the core dumps, but I removed =0A> them because I don= 't need them and I am still getting the core dumps.=0A> >=0A> > This is a p= roduction box and it would be hard to have debugger turned on.=0A> > I don'= t know if it would be helpful, but PHP is also really slow on this =0A> mac= hine. I know that PHP would cause a dump in the php.core file and not =0A> = apache.core.=0A> >=0A> > How do I inspect the core file to find out which m= odule caused it?=0A> >=0A> > Thanks=0A> >=0A> >=0A> =0A> Have you any speci= al php5 modules loaded. I had a problem with I want to recall =0A> three or= more extensions that would cause apache2X to dump core or halt in doing = =0A> =0A> any further actions upon request.=0A> =0A> If the above is the ca= se you can disable some or all of your php5-extensions in =0A> local/etc/ph= p/extensions.ini to test it out.=0A> =0A> Best of luck.=0A=0A=0AThanks,=0AI= followed your suggestion and removed all but the necessary modules from th= e extensions.ini. I will have to wait and see if it helps the core dumps.= =0A=0ASo at this time I have the following in the extensions:=0Aextension= =3Dgd.so=0Aextension=3Dmcrypt.so=0Aextension=3Dmysql.so=0Aextension=3Dsimpl= exml.so=0Aextension=3Dspl.so=0Aextension=3Dmysqli.so=0Aextension=3Dsession.= so=0Aextension=3Dtokenizer.so=0Aextension=3Dxml.so=0A=0APHP is still=A0slow= though!=0A=0A=0A