Date: Sun, 4 Oct 2009 05:36:12 -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: <53013.99292.qm@web56202.mail.re3.yahoo.com> In-Reply-To: <741337.59760.qm@web56205.mail.re3.yahoo.com> 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> <741337.59760.qm@web56205.mail.re3.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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 =
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53013.99292.qm>