[squid-users] Seemingly incorrect behavior: squid cache getting filled up on PUT requests

From: Rajiv Desai <rajiv_at_maginatics.com>
Date: Sun, 16 Feb 2014 14:41:35 -0800

I am using Squid Cache:
Version 3.HEAD-20140127-r13248

My cache dir is configured to use rock (Large rock with SMP):
cache_dir rock /mnt/squid-cache 256000 max-size=4194304

My refresh pattern is permissive to cache all objects:
refresh_pattern . 129600 100% 129600 ignore-auth

I uploaded 30 GB of data via squid cache with PUT requests.
From storedir stats(squidclient mgr:storedir) it seems like each PUT
is occupying 1 slot in rock cache.

Is this a known bug? PUT requests should not increase cache usage right?

Stats:

by kid9 {

Store Directory Statistics:

Store Entries : 53

Maximum Swap Size : 209715200 KB

Current Store Swap Size: 8960416.00 KB

Current Capacity : 4.27% used, 95.73% free

Store Directory #0 (rock): /mnt/squid-cache

FS Block Size 1024 Bytes

Maximum Size: 209715200 KB

Current Size: 8960416.00 KB 4.27%

Maximum entries: 13107199

Current entries: 560025 4.27%

Used slots: 560025 4.27%

Pending operations: 1 out of 0

Flags:

} by kid9

Thanks,
Rajiv
Received on Sun Feb 16 2014 - 22:41:43 MST

This archive was generated by hypermail 2.2.0 : Mon Feb 17 2014 - 12:00:05 MST