Search squid archive

Re: How to stop writes to netdb.state?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

On Sat, Aug 14, 2021 at 12:43 PM Matus UHLAR - fantomas
<uhlar@xxxxxxxxxxx> wrote:
btw, why?

On 14.08.21 15:04, Nbd Spcl wrote:
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.

btw, these options are usually described in provided default squid.conf.

--
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; 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.
Atheism is a non-prophet organization.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux