[squid-users] How to stop writes to netdb.state?
Matus UHLAR - fantomas
uhlar at fantomas.sk
Sat Aug 14 12:44:31 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
>On Sat, Aug 14, 2021 at 12:43 PM Matus UHLAR - fantomas
><uhlar at fantomas.sk> 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 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.
Atheism is a non-prophet organization.
More information about the squid-users
mailing list