greeting every one
I made a request to a big file with url lets say url.ca/big_file.tgz
from one client machine through squid and while it was pending-store
after a little while made another request from another client machine
to the same file. here is the output of
squidclient -p 1210 mgr:vm_objects 2>&1 | grep -i -B 6 -A 5 "big_file.tgz"
KEY 2328788B9DA67070750EBB434D057E4A
STORE_PENDING NOT_IN_MEMORY SWAPOUT_NONE PING_DONE
RELEASE_REQUEST,DISPATCHED,PRIVATE,VALIDATED
LV:1386699538 LU:1386699538 LM:1362573412 EX:-1
4 locks, 1 clients, 1 refs
Swap Dir -1, File 0XFFFFFFFF
GET http://url.ca/big_file.tgz
inmem_lo: 227638121
inmem_hi: 228071561
swapout: 0 bytes queued
KEY 7A2D8851C8F8B8E9BC56183DC1C9C26D
-- KEY 7F6FB74FB7AA69E5DB9FCA5002A64C0A STORE_PENDING NOT_IN_MEMORY SWAPOUT_NONE PING_DONE RELEASE_REQUEST,DISPATCHED,PRIVATE,VALIDATED LV:1386700716 LU:1386700716 LM:1362573412 EX:-1 4 locks, 1 clients, 1 refs Swap Dir -1, File 0XFFFFFFFF GET http://url.ca/big_file.tgz inmem_lo: 8295840 inmem_hi: 8316000 swapout: 0 bytes queued as you can see, squid creates two entries for each of them. then I tested the server of url.ca and figured out squid creates two separate download for each requests, while they are exactly the same. how to make squid to use the pending in-transit object for every requests instead of create a new download for them. I know it might be a security risk, but it might be very usefull for special cases that security does not matter. regardsReceived on Tue Dec 10 2013 - 22:47:45 MST
This archive was generated by hypermail 2.2.0 : Wed Dec 11 2013 - 12:00:05 MST