Date: Sat, 3 Oct 2009 13:49:54 -0700 (PDT) From: Aflatoon Aflatooni <aaflatooni@yahoo.com> To: freebsd-questions@freebsd.org Subject: Re: Apache20 port on FreeBSD 7.2 does a core dump Message-ID: <741337.59760.qm@web56205.mail.re3.yahoo.com> In-Reply-To: <alpine.BSF.2.00.0910031607120.28602@dimension.5p.local> References: <35656.54290.qm@web56206.mail.re3.yahoo.com> <44ocoo4eus.fsf@lowell-desk.lan> <11016.32541.qm@web56202.mail.re3.yahoo.com> <alpine.BSF.2.00.0910031607120.28602@dimension.5p.local>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?741337.59760.qm>