[squid-users] How to stop writes to netdb.state?

Matus UHLAR - fantomas uhlar at fantomas.sk
Sat Aug 14 09:43:38 UTC 2021


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?

>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".


-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Depression is merely anger without enthusiasm.


More information about the squid-users mailing list