@abh3 ,

I was testing today getting some files of a stashcache with a squid in front of it.

http_proxy="http://cvmfs-1.t2.ucsd.edu:3128" curl -v http://stashcache.t2.ucsd.edu:8000/user/dweitzel/public/blast/queries/query1 -O
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* About to connect() to proxy cvmfs-1.t2.ucsd.edu port 3128 (#0)
*   Trying 169.228.130.85...
* Connected to cvmfs-1.t2.ucsd.edu (169.228.130.85) port 3128 (#0)
> GET http://stashcache.t2.ucsd.edu:8000/user/dweitzel/public/blast/queries/query1 HTTP/1.1
> User-Agent: curl/7.29.0
> Host: stashcache.t2.ucsd.edu:8000
> Accept: */*
> Proxy-Connection: Keep-Alive
> 
< HTTP/1.1 200 OK
< Content-Length: 103
< Date: Tue, 22 Oct 2019 16:03:59 GMT
< X-Cache: MISS from cvmfs-1.t2.ucsd.edu
< Via: 1.1 cvmfs-1.t2.ucsd.edu (squid/frontier-squid-4.4-2.1.osg34.el7)
< Connection: keep-alive
< 
{ [data not shown]
100   103  100   103    0     0  10496      0 --:--:-- --:--:-- --:--:-- 11444
* Connection #0 to host cvmfs-1.t2.ucsd.edu left intac

And as you can see it is always a miss. From the squid logs it seems as Xrootd always tells it the file has changed, but clearly it has not:

[0903] root@cvmfs-1 /var/log/squid# tail -f -n 100 access.log | grep query1
169.228.130.5 - - [22/Oct/2019:09:03:59.781 -0700] "GET http://stashcache.t2.ucsd.edu:8000/user/dweitzel/public/blast/queries/query1 HTTP/1.1" 200 315 TCP_REFRESH_MODIFIED:HIER_DIRECT 2 "- -" "-" "curl/7.29.0"
169.228.130.5 - - [22/Oct/2019:09:10:48.349 -0700] "GET http://stashcache.t2.ucsd.edu:8000/user/dweitzel/public/blast/queries/query1 HTTP/1.1" 200 315 TCP_REFRESH_MODIFIED:HIER_DIRECT 3 "- -" "-" "curl/7.29.0"

@bbockelm any ideas? @DrDaveD am I understanding the squid message correctly?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1073?email_source=notifications\u0026email_token=AA7NRDXTLVHDNXLL6JOMAWDQP4Q4FA5CNFSM4JDSBUTKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HTRTHAQ", "url": "https://github.com/xrootd/xrootd/issues/1073?email_source=notifications\u0026email_token=AA7NRDXTLVHDNXLL6JOMAWDQP4Q4FA5CNFSM4JDSBUTKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HTRTHAQ", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1