From owner-freebsd-questions@FreeBSD.ORG Sun Oct 4 12:36:14 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 11A0A1065679 for ; Sun, 4 Oct 2009 12:36:14 +0000 (UTC) (envelope-from aaflatooni@yahoo.com) Received: from web56202.mail.re3.yahoo.com (web56202.mail.re3.yahoo.com [216.252.110.211]) by mx1.freebsd.org (Postfix) with SMTP id BA08B8FC23 for ; Sun, 4 Oct 2009 12:36:13 +0000 (UTC) Received: (qmail 12551 invoked by uid 60001); 4 Oct 2009 12:36:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1254659773; bh=jcjKNv/PIM9tDPOxXrMs1c0EPfuWqkUGF0Q9XDjsVlU=; 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=v9sLNsRIUTOksF1QgPuqpC1PjRUfaBmToUdmBawOBs0g6XJnOPRMu9Ou6pTmt87rEB37Wl+gy5KKYp54DJIki59eWVup7a84yQnVZ1sUL4uB/gWxnsjiuM/ElynMTf8Chh4n8cNMM6mbsXHE9jPX/uY8YhohPSipKCCqnpNCD3Q= 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=GekK+C2Te6A1e+E9uuAvtx84amaCWBZIb3iP3hz5zZ2pAXbICPmMfOD90Zvq8u0MaMxd3YpWRlIL4xWFP6eGtinxsBs+lcrdzu5bsS3bt8ECYsssEaRhw8y56OUSiS24U9ZTJGBGNWhbT/c72ISpgq/Jr6waAWyGLdYV8qdkMC0=; Message-ID: <53013.99292.qm@web56202.mail.re3.yahoo.com> X-YMail-OSG: h1_h2aAVM1k54pMpJZHiUpydgWvlld_k4s.5oagSMbndw4LeVu8BPqRawslJ113XrDJIRMZPl7fy3k.0jggtnYYbLr5jbzL6D_jFfM.2domZaM3_0FlwgnSDpkjFaVq.oZaW1kYGP4k2rTQWOZ0I1dQPipClR8T1D5tS.5XQmWhcSmFmbq2F_MgVUCCoj88vJwpxH9.lkNRE9vk_uUOYndiJrRkovBfPI3LDUgG3JypynCaOQEjOwVVz4.LBoeZzIVf.7UooPZHI2N22nSrLBzqDAfkR9FtiQDtpvKn8O_w3DFdMmKDaLwl7UtwAI8eKWHdGbaOJfgkA8HH3oJuX2Rmo.yj.y28dIOG5RaVA8FslNtzelDwV4Q_1eZdeNrv8oonFoBQB8PyG2pZPWZs.TfCJK4CZqk4wxGB3W70gwrLp Received: from [67.204.54.15] by web56202.mail.re3.yahoo.com via HTTP; Sun, 04 Oct 2009 05:36:12 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> <741337.59760.qm@web56205.mail.re3.yahoo.com> Date: Sun, 4 Oct 2009 05:36:12 -0700 (PDT) From: Aflatoon Aflatooni To: freebsd-questions@freebsd.org In-Reply-To: <741337.59760.qm@web56205.mail.re3.yahoo.com> 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: Sun, 04 Oct 2009 12:36:14 -0000 > > On Sat, 3 Oct 2009 13:38 -0000, aaflatooni wrote:=0A> > =0A> > >> Aflat= oon Aflatooni writes:=0A> > >>=0A> > >>> I am getting a lot of core dumps a= nd Apache20 freezing.=0A> > >>> I have installed the porting using the foll= owing make:=0A> > >>>=0A> > >>> make WITHOUT_MODULES=3D"ssl status speling = imap auth_dbm auth_digest dav =0A> > dav_fs=0A> > >> cern_meta cgi include"= install=0A> > >>>=0A> > >>> any suggestions as to how I might find out wha= t is causing the problem and =0A> =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 still get the crashes, you'll have to = start=0A> > >> looking at the core files.=0A> > >>=0A> > >> I'm assuming yo= u're not used to using a debugger on a core file,=0A> > >> on the theory th= at you would have done that already if you were=0A> > >> comfortable with i= t.=0A> > >>=0A> > >=0A> > > I originally had them included and I was gettin= g the core dumps, but I =0A> removed =0A> > them because I don't need them = and I am still getting the core dumps.=0A> > >=0A> > > This is a production= 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> > machine.= I know that PHP would cause a dump in the php.core file and not =0A> > apa= che.core.=0A> > >=0A> > > How do I inspect the core file to find out which = module caused it?=0A> > >=0A> > > Thanks=0A> > >=0A> > >=0A> > =0A> > Have = you any special php5 modules loaded. I had a problem with I want to =0A> re= call =0A> > three or more extensions that would cause apache2X to dump core= or halt in =0A> doing =0A> > =0A> > any further actions upon request.=0A> = > =0A> > If the above is the case you can disable some or all of your php5-= extensions =0A> in =0A> > local/etc/php/extensions.ini to test it out.=0A> = > =0A> > Best of luck.=0A> =0A> =0A> Thanks,=0A> I followed your suggestion= and removed all but the necessary modules from the =0A> extensions.ini. I = will have to wait and see if it helps the core dumps.=0A> =0A> So at this t= ime I have the following in the extensions:=0A> extension=3Dgd.so=0A> exten= sion=3Dmcrypt.so=0A> extension=3Dmysql.so=0A> extension=3Dsimplexml.so=0A> = extension=3Dspl.so=0A> extension=3Dmysqli.so=0A> extension=3Dsession.so=0A>= extension=3Dtokenizer.so=0A> extension=3Dxml.so=0A> =0A> PHP is still=A0sl= ow though!=0A> =0A=0A=A0=0AJust an update:=0AI still get the httpd.core dum= ps and PHP5 is visibly slower. Nothing has helped the situation.=0A=0A=0A =