[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache - SIGSEGV but no core dumps.




On Sat, 30 Jun 2001, Russell Coker wrote:

> > I use Apache 1.3.19 + php4.0.5 from Woody in chrooted enviroment.
> > My problem is actually I can't force Apache to drop core files.
> > I've added ulimit -c unlimited to /etc/init.d/apache, and set
> > CoreDumpDirectory to some world writeable dir.
> > Nope - I can't get any core to do backtrace on it. Why ?
> 
> Well behaved daemons often set their own core limit to zero to avoid 
> wasting disk space in the case of errors.  You may have to recompile 
> Apache with this option disabled, but that's no big deal.  Debian 
> packages contain stripped binaries so you won't get that much information 
> from a core file unless you recompile with "-g" instead of "-O2".

I don't think It's what Apache does - it has CoreDumpDirectory
configuration directive, so I think it should drope some cores there ;)

-=Czaj-nick=-




Reply to: