[squid-users] How to stop writes to netdb.state?
Nbd Spcl
nbdspcl at gmail.com
Sat Aug 14 12:04:13 UTC 2021
On Sat, Aug 14, 2021 at 12:43 PM Matus UHLAR - fantomas
<uhlar at fantomas.sk> wrote:
>
> On 14.08.21 09:09, Nbd Spcl wrote:
> >Hello, every hour or so squid performs a writing operation to a file, which
> >is reported in the journal as follows:
> >
> >Logfile:opening log stdio:/var/spool/squid/netdb.state
> >Logfile:closing log stdio:/var/spool/squid/netdb.state
> >NETDB state saved: 0 entries, 0 msec
> >
> >I have enabled the following rule in the squid.conf:
> >
> >pinger_enable off
>
> btw, why?
That was just a "try and error" attempt, based on 10.5 section of the manual:
"To enable netdb, you must configure Squid with the —enable-icmp
option. You must also install the pinger program"
> >My question is: is there a way to stop this file writing altogether so that
> >it doesn't show up in the journal logs?
>
> http://www.squid-cache.org/Doc/config/netdb_filename/
>
> To disable, enter "none".
Many thanks.
/Al.
More information about the squid-users
mailing list