Search squid archive

Re: Netdb. state too big

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

 



On 9/01/19 10:34 pm, Antonino Sanacori wrote:
>  Hello.
> 
> My log/squid/netdb.state is 534MB, how can i reduce his size?
> 

* You can safely delete Squid netdb.state journals at any time.

* You can disable NetDB by configuring "netdb_filename none" in squid.conf

However, that said ...

> On my Debian 9 can I use logrotate to rotate the file?
> 

... the Debian squid packages NetDB journal file is located at
/var/spool/squid/netdb.state unless you have configured netdb_filename
to place it elsewhere.


You should *not* treat netdb.state as a log. Performing log rotation,
backups, or even using its contents for analysis is pointless. Squid
will delete and rebuild it as an hourly snapshot during regular operation.


Amos
_______________________________________________
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