Re: FTP cacheing doesn't seem to work on squid-2.2.STABLE4-8

From: Stephen Moore <stephenm@dont-contact.us>
Date: Fri, 12 Nov 1999 16:04:38 +1000

Henrik Nordstrom wrote:

> Dancer wrote:
> > > > ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-i686-pc-linux-gnu.tar.gz
>
> > I believe that the site does not, in fact, support MDTM. It _does_
> > support NEWER and MINFO, but I'm not sure of the standards basis of
> > those.
>
> It does support MTDM
>
> HELP
> 214-The following commands are recognized (* =>'s unimplemented).
> USER PORT STOR MSAM* RNTO NLST MKD CDUP
> PASS PASV APPE MRSQ* ABOR SITE XMKD XCUP
> ACCT* TYPE MLFL* MRCP* DELE SYST RMD STOU
> SMNT* STRU MAIL* ALLO CWD STAT XRMD SIZE
> REIN* MODE MSND* REST XCWD HELP PWD MDTM
> QUIT RETR MSOM* RNFR LIST NOOP XPWD
>
> MDTM README
> 213 19990708020928
>
> So the problem is probably elsewhere.
>
> The remaining questions are: (I know you have answered some already, but
> I did not write down your answers)
>
> * Is the time on your proxy server reasonably correct?

[root@squid stephenm]# date
Fri Nov 12 15:26:13 EST 1999
[root@squid stephenm]#

This seems fairly accurate. I don't use gmt, does this matter?

>
>
> * What refresh_pattern settings are you using?

Problem was with the original settings from a default install

>
>
> * Can you enable log_mime_hdrs in squid.conf, and then send the output
> of one "failing" request from acccess.log and store.log.
>

store.log

942283667.087 RELEASE FFFFFFFF 200 -1 -1 -1 application/x-tar
5289885/623638 GET
ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-i686-pc-linux-gnu.tar.gz
942292023.341 RELEASE FFFFFFFF 200 -1 -1 -1 application/x-tar
5289885/5289885 GET
ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-i686-pc-linux-gnu.tar.gz
942292658.079 RELEASE FFFFFFFF 200 -1 -1 -1 application/x-tar
5289885/27070 GET
ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-i686-pc-linux-gnu.tar.gz
942293631.052 RELEASE FFFFFFFF 200 -1 -1 -1 application/x-tar
5289885/5289885 GET
ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-i686-pc-linux-gnu.tar.gz
942294197.243 RELEASE FFFFFFFF 200 -1 -1 -1 application/x-tar
5289885/70678 GET
ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-i686-pc-linux-gnu.tar.gz
942386510.133 RELEASE FFFFFFFF 200 -1 -1 -1 application/x-tar
5289885/5289885 GET
ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-i686-pc-linux-gnu.tar.gz

access.log
942386510.131 1249540 172.16.0.50 TCP_MISS/200 5290115 GET
ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-i686-pc-linux-gnu.tar.gz -
PARENT_HIT/proxy.ozemail.com.au application/x-tar [User-Agent: Wget/1.5.3%0d%0aHost:
ftp.mozilla.org:21%0d%0aAccept: */*%0d%0a] [HTTP/1.0 200 Gatewaying%0d%0aMIME-Version:
1.0%0d%0aServer: NetCache 3.4D6%0d%0aContent-Type: application/x-tar%0d%0aContent-Length:
5289885%0d%0aContent-Encoding: x-gzip%0d%0a%0d]

The access.log seems to miss some of the gets

>
> * What is your maximum_object_size setting?
>

[root@squid squid]# grep maximum_object_size /etc/squid/squid.conf
# TAG: maximum_object_size (bytes)
maximum_object_size 40960 KB
[root@squid squid]#

>
> --
> Henrik Nordstrom
> Squid hacker

Parent caches one public (ozemail) one upstream

cache_peer bdb-svr-b.widebay.net parent 3128 3130
cache_peer proxy.ozemail.com.au parent 8080 3130

machine is a alpha 2000 4/266 dual processor with 256 meg of ram
running redhat linux 6.0

Hope this helps
Received on Thu Nov 11 1999 - 23:15:44 MST

This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:32 MDT