pfSense Gold Subscription

Author Topic: Help with huge cache.log file in Squid  (Read 741 times)

0 Members and 1 Guest are viewing this topic.

Offline thestealth

  • Jr. Member
  • **
  • Posts: 45
    • View Profile
Help with huge cache.log file in Squid
« on: August 07, 2012, 05:16:48 pm »
Hi,

I seem to have a huge cache.log file (~25GB). And I don't know how to reduce it.  The actual cache directory is not that full, I just have a huge log.  Any ideas?

Offline serialdie

  • Sr. Member
  • ****
  • Posts: 395
    • View Profile
Re: Help with huge cache.log file in Squid
« Reply #1 on: August 07, 2012, 07:46:27 pm »
While your post for what ever reason does not seem right (evil)

Remove the file. is safe.

Offline thestealth

  • Jr. Member
  • **
  • Posts: 45
    • View Profile
Re: Help with huge cache.log file in Squid
« Reply #2 on: August 07, 2012, 07:54:42 pm »
Thank you.  Before I deleted it I wanted to make sure.

Should I shut down the squid service first? or it does not matter?

Offline serialdie

  • Sr. Member
  • ****
  • Posts: 395
    • View Profile
Re: Help with huge cache.log file in Squid
« Reply #3 on: August 07, 2012, 09:41:32 pm »
Yes.

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 9961
    • View Profile
Re: Help with huge cache.log file in Squid
« Reply #4 on: August 08, 2012, 12:34:08 am »
Also configure log rotation on squid config

Offline thestealth

  • Jr. Member
  • **
  • Posts: 45
    • View Profile
Re: Help with huge cache.log file in Squid
« Reply #5 on: August 08, 2012, 06:37:37 am »
Thank you all for your help.