[ previous ] [ next ] [ threads ]
 
 From:  "Ervin Malicdem" <schadow1 at gmail dot com>
 To:  m0n0wall <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Re: [m0n0wall] php.core is driving me crazy
 Date:  Thu, 14 Sep 2006 01:31:33 +0800
Thanks Manuel. This is a great help.

BTW, what are the negative implications of disabling coredump (if there are
any)?

On 9/14/06, Manuel Kasper <mk at neon1 dot net> wrote:
>
> On 14.09.06 00:47 +0800, Ervin Malicdem wrote:
>
> > aside from etc folder where php.core is filling up, i have also
> > found it to
> > fill up at captiveportal folder as well. to remove it, use the
> > command
> >
> > rm -f /usr/local/captiveportal/php.core
> >
> > Does anyone know how to automate the execution of these commands
> > every 4-6 hours?
>
> You can disable core dumps altogether by running the following
> command through /exec.php:
>
> sysctl kern.coredump=0
>
> To automatically set this on boot, add it to your config.xml as a
> <shellcmd> (see http://doc.m0n0.ch/handbook/faq-hiddenopts.html).
>
> - Manuel
>