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

Nbd Spcl nbdspcl at gmail.com
Sat Aug 14 06:09:21 UTC 2021


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

This caused the last last in the log report to become

NETDB state saved: 0 entries, 0 msec

whereas before adding that rule, it was

NETDB state saved: 12 entries, 1 msec

My question is: is there a way to stop this file writing altogether so that
it doesn't show up in the journal logs?

/Al.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20210814/8ced653f/attachment.htm>


More information about the squid-users mailing list