Search squid archive

Re: Squid not responding during file upload.

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

 



On 19/03/2015 8:11 p.m., Saravanan Coimbatore wrote:
> Hello all, 
> 
> I am using Squid 3.4 to inspect content that heads out to the cloud from enterprise. I have two c-icap filter that does the content inspection. 
> 
> Observation: 
> - Upload 3000 1M files to cloud passes through successfully. 
> - Upload 300 40M files to cloud results in multiple failures. Some of errors: 400 Bad Request, Request Timed out.. 
> 
> Tcpdump of the 40MB file upload tests indicate the following:
> - Boto client used to upload sends packet to squid proxy. 

 Squid on receiving requests sends them to the ICAP REQMOD service,
   and waits for its response,
 then sends the ICAP REQMOD result to the origin server,
   and waits for its response,
 then sends that to the ICAP RESPMOD service,
   and waits for its response,
 then sends that to the client.

So...
 What is the ICAP service and the origin server doing?


> - Proxy does not acknowledge. 

What type of "acknowledge" are you expecting here? HTTP or TCP level?

> - Client sends the data again at least 6 times, Squid does not respond. 

At TCP or HTTP layer?

> - After 20-25 seconds of this (where Squid did not send any data to cloud), Cloud storage vendor returns a "BAD Request" response. 
> 
> Uploading 300 files seems to be a load that should be manageable by Squid. Can anyone guide me on how to optimize Squid for the above scenario? Are there any performance parameters that I can tweak so Squid handles this correctly?
> 


Amos

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





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

  Powered by Linux