Project

General

Profile

Actions

Bug #4690

closed

Squid cache needs to be flushed periodically or package managers on LAN clients wont work

Added by Anonymous over 10 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
Very High
Assignee:
-
Category:
Squid
Target version:
-
Start date:
05/08/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
All
Affected Plus Version:
Affected Architecture:
amd64

Description

I have experienced the same issue about 6 months ago when after having installed squid+SG I noticed that package managers (both windows & linux) were behaving strangely. All problems seemed to point to connection issues to repos or external sources.

I opened a thread on the forum but no real solution was found except reinstall pfsense from scratch without squid..

I need squid to do caching and web filtering. Lately, I reinstalled it but a few days later, the issue with package managers resurfaced.

For example of the behavior I experience, please visit the forum thread https://forum.pfsense.org/index.php?topic=83568.0

The workaround is to flush squid's cache and reconstruct the folder architecture with the following commands:

squid -k shutdown
rm -fr /var/squid/cache/*
squid -z
/usr/local/sbin/squid -D

All other web functions, VOIP, websites and such are functioning normally. I only have problems with the package managers. When I execute the commands above, immediately all goes to normal but a few days later, I need again to flush squid's cache manually.

Squid 2.7.9 pkg v.4.3.6
pfsense 2.2.2-RELEASE (amd64) built on Mon Apr 13 20:10:22 CDT 2015 FreeBSD 10.1-RELEASE-p9

Actions

Also available in: Atom PDF