Search squid archive

Re: Fwd: in-transit objects and more new requests for them

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

 



Hey mohamad,

The key is meant for searching and finding something in the DB.
as you see that there are two keys it might be a HEAD and GET requests or another thing.

Squid has a testing branch for a function called "collapsed forwarding" which you can try and might find that it is what you are looking for.

What version of squid are you using?

Eliezer

On 11/12/13 00:47, mohamad pen wrote:
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.
regards






[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux