Mailing List Archive

How to disable core-dump of varnish?
Hello,

In our setup out of 5 GB of storage 4 GB is occupied for the core-dump of
varnish and we are not able to reload varnish with new VCL because of this
issue.

Need an help how to disable core-dump or how do we move it seperate volume
as it is dependent on kernel



Regards,
Veeresha R
Re: How to disable core-dump of varnish? [ In reply to ]
Hi,

Varnish itself doesn't dump the core, your OS does it. Most probably, you
want to look at this page:
https://www.freedesktop.org/software/systemd/man/systemd-coredump.html

Cheers,

--
Guillaume Quintard


On Mon, Feb 10, 2020 at 11:28 AM Veeresh Reddy <veereshreddy.r@gmail.com>
wrote:

> Hello,
>
> In our setup out of 5 GB of storage 4 GB is occupied for the core-dump of
> varnish and we are not able to reload varnish with new VCL because of this
> issue.
>
> Need an help how to disable core-dump or how do we move it seperate volume
> as it is dependent on kernel
>
>
>
> Regards,
> Veeresha R
> _______________________________________________
> varnish-misc mailing list
> varnish-misc@varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
Re: How to disable core-dump of varnish? [ In reply to ]
Hi,

Please keep the mailing-list cc'd.

I would turn it off, the panic message generally is enough and the whole
core isn't that useful.

Cheers,

--
Guillaume Quintard


On Mon, Feb 10, 2020 at 11:51 AM Veeresh Reddy <veereshreddy.r@gmail.com>
wrote:

> what is the better way forward whether to disable the core-dump or moving
> it to different volume?
>
> On Mon, Feb 10, 2020 at 10:16 PM Guillaume Quintard <
> guillaume@varnish-software.com> wrote:
>
>> Hi,
>>
>> Varnish itself doesn't dump the core, your OS does it. Most probably, you
>> want to look at this page:
>> https://www.freedesktop.org/software/systemd/man/systemd-coredump.html
>>
>> Cheers,
>>
>> --
>> Guillaume Quintard
>>
>>
>> On Mon, Feb 10, 2020 at 11:28 AM Veeresh Reddy <veereshreddy.r@gmail.com>
>> wrote:
>>
>>> Hello,
>>>
>>> In our setup out of 5 GB of storage 4 GB is occupied for the core-dump
>>> of varnish and we are not able to reload varnish with new VCL because of
>>> this issue.
>>>
>>> Need an help how to disable core-dump or how do we move it seperate
>>> volume as it is dependent on kernel
>>>
>>>
>>>
>>> Regards,
>>> Veeresha R
>>> _______________________________________________
>>> varnish-misc mailing list
>>> varnish-misc@varnish-cache.org
>>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>>
>>
>
> --
> Hello,
>
>
>
>
>
> Regards,
> Veeresha R
>
Re: How to disable core-dump of varnish? [ In reply to ]
Any idea on how to turn it off except for panic messages?

On Mon, Feb 10, 2020 at 10:24 PM Guillaume Quintard <
guillaume@varnish-software.com> wrote:

> Hi,
>
> Please keep the mailing-list cc'd.
>
> I would turn it off, the panic message generally is enough and the whole
> core isn't that useful.
>
> Cheers,
>
> --
> Guillaume Quintard
>
>
> On Mon, Feb 10, 2020 at 11:51 AM Veeresh Reddy <veereshreddy.r@gmail.com>
> wrote:
>
>> what is the better way forward whether to disable the core-dump or moving
>> it to different volume?
>>
>> On Mon, Feb 10, 2020 at 10:16 PM Guillaume Quintard <
>> guillaume@varnish-software.com> wrote:
>>
>>> Hi,
>>>
>>> Varnish itself doesn't dump the core, your OS does it. Most probably,
>>> you want to look at this page:
>>> https://www.freedesktop.org/software/systemd/man/systemd-coredump.html
>>>
>>> Cheers,
>>>
>>> --
>>> Guillaume Quintard
>>>
>>>
>>> On Mon, Feb 10, 2020 at 11:28 AM Veeresh Reddy <veereshreddy.r@gmail.com>
>>> wrote:
>>>
>>>> Hello,
>>>>
>>>> In our setup out of 5 GB of storage 4 GB is occupied for the core-dump
>>>> of varnish and we are not able to reload varnish with new VCL because of
>>>> this issue.
>>>>
>>>> Need an help how to disable core-dump or how do we move it seperate
>>>> volume as it is dependent on kernel
>>>>
>>>>
>>>>
>>>> Regards,
>>>> Veeresha R
>>>> _______________________________________________
>>>> varnish-misc mailing list
>>>> varnish-misc@varnish-cache.org
>>>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>>>
>>>
>>
>> --
>> Hello,
>>
>>
>>
>>
>>
>> Regards,
>> Veeresha R
>>
>

--
Hello,





Regards,
Veeresha R
Re: How to disable core-dump of varnish? [ In reply to ]
You can't disable panics, so just disable coredumps

On Mon, Feb 10, 2020, 12:01 Veeresh Reddy <veereshreddy.r@gmail.com> wrote:

> Any idea on how to turn it off except for panic messages?
>
> On Mon, Feb 10, 2020 at 10:24 PM Guillaume Quintard <
> guillaume@varnish-software.com> wrote:
>
>> Hi,
>>
>> Please keep the mailing-list cc'd.
>>
>> I would turn it off, the panic message generally is enough and the whole
>> core isn't that useful.
>>
>> Cheers,
>>
>> --
>> Guillaume Quintard
>>
>>
>> On Mon, Feb 10, 2020 at 11:51 AM Veeresh Reddy <veereshreddy.r@gmail.com>
>> wrote:
>>
>>> what is the better way forward whether to disable the core-dump or
>>> moving it to different volume?
>>>
>>> On Mon, Feb 10, 2020 at 10:16 PM Guillaume Quintard <
>>> guillaume@varnish-software.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> Varnish itself doesn't dump the core, your OS does it. Most probably,
>>>> you want to look at this page:
>>>> https://www.freedesktop.org/software/systemd/man/systemd-coredump.html
>>>>
>>>> Cheers,
>>>>
>>>> --
>>>> Guillaume Quintard
>>>>
>>>>
>>>> On Mon, Feb 10, 2020 at 11:28 AM Veeresh Reddy <
>>>> veereshreddy.r@gmail.com> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> In our setup out of 5 GB of storage 4 GB is occupied for the core-dump
>>>>> of varnish and we are not able to reload varnish with new VCL because of
>>>>> this issue.
>>>>>
>>>>> Need an help how to disable core-dump or how do we move it seperate
>>>>> volume as it is dependent on kernel
>>>>>
>>>>>
>>>>>
>>>>> Regards,
>>>>> Veeresha R
>>>>> _______________________________________________
>>>>> varnish-misc mailing list
>>>>> varnish-misc@varnish-cache.org
>>>>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>>>>
>>>>
>>>
>>> --
>>> Hello,
>>>
>>>
>>>
>>>
>>>
>>> Regards,
>>> Veeresha R
>>>
>>
>
> --
> Hello,
>
>
>
>
>
> Regards,
> Veeresha R
>
Re: How to disable core-dump of varnish? [ In reply to ]
On Mon, Feb 10, 2020 at 5:02 PM Veeresh Reddy <veereshreddy.r@gmail.com> wrote:
>
> Any idea on how to turn it off except for panic messages?

This?

varnishadm param.set feature +no_coredump

Or during startup:

varnishd [...] -p feature=+no_coredump

See `man varnishd` for other feature flags.

Dridi
_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc