On 18/08/11 22:56, Chen Bangzhong wrote: > Mean Object Size: 20.61 K > maximum_object_size_in_memory 1024 KB > > So most objects will be save in RAM first, still can't explain why > there are so many disk writes. >
Well, I would check the HTTP response headers there. Make sure they are containing Content-Length: header. If that is missing Squid is forced to assume it will have infinite length and require disk backing for the object until it is finished arriving. The "Mean Object Size:" metric is measured on completely received and stored objects. So does not really account for unknown length objects or non-cacheable previous objects. Amos -- Please be using Current Stable Squid 2.7.STABLE9 or 3.1.14 Beta testers wanted for 3.2.0.10