[squid-users] Squid 3 doesn't overwrite/replace cached objects(?)

From: uners <r.schroth_at_unexpected.de>
Date: Tue, 3 Sep 2013 02:08:21 -0700 (PDT)

Hi List,

having run without problems for weeks, from one moment to the following my
Debian 7 based Squid 3.1.20 didn't provide WWW pages anymore to the
connected clients. All networking stuff, included DNS resolution still
worked without problems (ping, nslookup, tracert/traceroute), but the web
browsers didn't show the requested pages (showed error page "Connection not
possible").

The cache is sized 20GB on a seperate disk partition - and it has been
completely full. Having deleted the cached objects and restarted the squid3
service, it built the cache structure again and worked again without
problems.

So, what's wrong with the replacement of cached objects?

This is what it looks like:

root_at_squid3proxy:/var/spool/squid# ls -lisa
insgesamt 408
      2 4 drwxrwxr-x 18 proxy root 4096 Sep 3 10:04 .
 128260 4 drwxr-xr-x 7 root root 4096 Aug 14 11:39 ..
 786433 4 drwxr-x--- 258 proxy proxy 4096 Sep 3 10:04 00
 917505 4 drwxr-x--- 258 proxy proxy 4096 Sep 3 10:04 01
1048577 4 drwxr-x--- 258 proxy proxy 4096 Sep 3 10:04 02
 131073 4 drwxr-x--- 258 proxy proxy 4096 Sep 3 10:04 03
 262145 4 drwxr-x--- 258 proxy proxy 4096 Sep 3 10:04 04
 655361 4 drwxr-x--- 258 proxy proxy 4096 Sep 3 10:04 05
1179649 4 drwxr-x--- 258 proxy proxy 4096 Sep 3 10:04 06
 393217 4 drwxr-x--- 258 proxy proxy 4096 Sep 3 10:04 07
     11 4 drwxr-x--- 258 proxy proxy 4096 Sep 3 10:04 08
   8193 4 drwxr-x--- 258 proxy proxy 4096 Sep 3 10:04 09
 262402 4 drwxr-x--- 258 proxy proxy 4096 Sep 3 10:04 0A
 393474 4 drwxr-x--- 258 proxy proxy 4096 Sep 3 10:04 0B
1048834 4 drwxr-x--- 258 proxy proxy 4096 Sep 3 10:04 0C
1179906 4 drwxr-x--- 258 proxy proxy 4096 Sep 3 10:04 0D
 655618 4 drwxr-x--- 258 proxy proxy 4096 Sep 3 10:04 0E
 131330 4 drwxr-x--- 258 proxy proxy 4096 Sep 3 10:04 0F
    525 336 -rw-r----- 1 proxy proxy 340344 Sep 3 10:50 swap.state

Is it a rights problem? Should the contents belong to root:root instead of
proxy:proxy?

AFAIK the replacement function of cached objects doesn't have to be
configured - it is an implemented function by default, isn't it?
The cache replacement policy ca be configured, but its function is to
determine HOW or in which ORDER the objects have to be replaced:
http://www.squid-cache.org/Doc/config/cache_replacement_policy/ ; BTW: mine
is LFUDA. Is something wrong with it in Squid3?

Ideas?

Thanks in advance!

Regards,
Bob

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-3-doesn-t-overwrite-replace-cached-objects-tp4661911.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Tue Sep 03 2013 - 09:09:06 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 03 2013 - 12:00:04 MDT