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

Re: squid cache



>>>>> "Matt" == Matt Zimmerman <mdz@debian.org> writes:

    Matt> On Mon, Oct 15, 2001 at 03:27:47PM +1000, Brian May wrote:
    >> On Mon, Oct 15, 2001 at 12:50:31PM +1000, Brian May wrote: >
    >> now I don't understand why there are so many down load attempts
    >> from > 203.12.237.97, something seems very odd there. I only
    >> downloaded each > file from each source onto each host *once*.
    >> 
    >> Later: when doing the same operation on a 3rd host, everything
    >> was cached.

    Matt> Check your store.log and see what is happening to the object
    Matt> once Squid has it.

Well... ever get that feeling that you can't fix a problem, because
lots of other simple errors that should never occur do?

I have found something really has screwed my log files:

-rw-r-----    1 proxy    proxy       70694 Oct 16 10:25 /var/log/squid/store.log
-rw-r--r--    1 proxy    proxy      373303 Apr 30 06:12 /var/log/squid/store.log.0
-rw-r-----    1 proxy    proxy      911534 Oct 16 06:30 /var/log/squid/store.log.1

Last week I noticed the same thing with access.log: access.log was
newest, access.log.1 was 2nd newest, access.log.0 was months old.

So, I deleted access.log.0, and now ever since, I get errors that it
can no longer be found. Argghh! I am afraid I can't make any since out
of this.

Anyway, as for my store.log file. I am afraid this data means nothing
to me, but will post the entries for the same file I mentioned
yesterday (I assume that post,
<[🔎] 841yk5zkeg.fsf@scrooge.chocbit.org.au>, got to debian-devel? I can't
find it now):

----- GOOD FILE ------------------------
this file worked:

1003112245.763 SWAPOUT 00 00002A3C AB7907DE957307B5D57D05827508CF33  200 1003111950 1003003615        -1 application/x-gunzip 1411946/1411946 GET http://ftp.melb.apana.org.au/pub/debian/dists/woody/main/binary-i386/Packages.gz

only one entry for three accesses, which seemed a bit surprising to
me:

1003112245.779 295664 203.12.237.97 TCP_MISS/200 1412433 GET http://ftp.melb.apana.org.au/pub/debian/dists/woody/main/binary-i386/Packages.gz - DEFAULT_PARENT/proxy.melb.apana.org.au application/x-gunzip
1003113402.470   1345 203.12.237.100 TCP_HIT/200 1412442 GET http://ftp.melb.apana.org.au/pub/debian/dists/woody/main/binary-i386/Packages.gz - NONE/- application/x-gunzip
1003123656.042    389 192.168.87.130 TCP_HIT/200 1412443 GET http://ftp.melb.apana.org.au/pub/debian/dists/woody/main/binary-i386/Packages.gz - NONE/- application/x-gunzip

----- BAD FILE --------------------------
this file didn't

1003112311.882 RELEASE -1 FFFFFFFF 941E6C27B4B44A240F3E38C6C901D94E  200 1003112310 1003003649        -1 application/x-gunzip 1537040/2501 GET http://ftp.melb.apana.org.au/pub/debian/dists/unstable/main/binary-i386/Packages.gz
1003112643.290 RELEASE -1 FFFFFFFF 4EF83E2DF499C765418CFA0EFC30A26D  200 1003112310 1003003649        -1 application/x-gunzip 1537040/1537040 GET http://ftp.melb.apana.org.au/pub/debian/dists/unstable/main/binary-i386/Packages.gz
1003113403.396 RELEASE -1 FFFFFFFF 8E889C1906F5273EAD91F50B56E96CB4    0        -1        -1        -1 unknown -1/0 GET http://ftp.melb.apana.org.au/pub/debian/dists/unstable/main/binary-i386/Packages.gz
1003113404.757 RELEASE -1 FFFFFFFF B4936E6685813CDFD7652FDDED0D3A65  200 1003113403 1003003649        -1 application/x-gunzip 1537040/2501 GET http://ftp.melb.apana.org.au/pub/debian/dists/unstable/main/binary-i386/Packages.gz
1003113638.242 SWAPOUT 00 00002A73 9EC29E3145DA599CA99FDDA74E492945  200 1003113403 1003003649        -1 application/x-gunzip 1537040/1537040 GET http://ftp.melb.apana.org.au/pub/debian/dists/unstable/main/binary-i386/Packages.gz

which I, as I stated in my prior post, was strange because access.log
lists it more then 3 times, but I only tried to download it three
times in apt:

1003112311.882   1583 203.12.237.97 TCP_MISS/200 1540 GET http://ftp.melb.apana.org.au/pub/debian/dists/unstable/main/binary-i386/Packages.gz - DEFAULT_PARENT/proxy.melb.apana.org.au application/x-gunzip
1003112643.290 332983 203.12.237.97 TCP_MISS/200 1537527 GET http://ftp.melb.apana.org.au/pub/debian/dists/unstable/main/binary-i386/Packages.gz - DEFAULT_PARENT/proxy.melb.apana.org.au application/x-gunzip
1003113403.395    111 203.12.237.100 TCP_MISS/000 0 GET http://ftp.melb.apana.org.au/pub/debian/dists/unstable/main/binary-i386/Packages.gz - NONE/- -
1003113404.753   1352 203.12.237.100 TCP_MISS/200 1540 GET http://ftp.melb.apana.org.au/pub/debian/dists/unstable/main/binary-i386/Packages.gz - DEFAULT_PARENT/proxy.melb.apana.org.au application/x-gunzip
1003113638.262 234795 203.12.237.100 TCP_MISS/200 1537527 GET http://ftp.melb.apana.org.au/pub/debian/dists/unstable/main/binary-i386/Packages.gz - DEFAULT_PARENT/proxy.melb.apana.org.au application/x-gunzip
1003123656.287     35 192.168.87.130 TCP_HIT/200 28774 GET http://ftp.melb.apana.org.au/pub/debian/dists/unstable/main/binary-i386/Packages.gz - NONE/- application/x-gunzip
1003123656.302      2 192.168.87.130 TCP_HIT/200 0 GET http://ftp.melb.apana.org.au/pub/debian/dists/unstable/main/binary-i386/Packages.gz - NONE/- application/x-gunzip
1003123656.330      6 192.168.87.130 TCP_HIT/200 4198 GET http://ftp.melb.apana.org.au/pub/debian/dists/unstable/main/binary-i386/Packages.gz - NONE/- application/x-gunzip
1003123657.312    981 192.168.87.130 TCP_HIT/200 1537537 GET http://ftp.melb.apana.org.au/pub/debian/dists/unstable/main/binary-i386/Packages.gz - NONE/- application/x-gunzip

Which number is bytes? Why are there 4 lines just from 192.168.87.130
alone, each with completely different figures, for what I would
presume is bytes in file?
-- 
Brian May <bam@debian.org>



Reply to: