[squid-users] (help!) strange things about maximum_object_size_in_memory in squid.conf

From: Taehwan Weon <taehwan.weon_at_gmail.com>
Date: Tue, 20 Jan 2009 15:49:45 +0900

Hi,

I am using squid 2.6.STABLE 21 on linux.
my squid.conf has the following settings:
      maximum_object_size_in_memory 10 KB
      cache_mem 3072 MB
      maximum_object_size 2000 MB
      minimum_object_size 0

After running squid for more than 1 months, I ran 'squidclient ....
mgr:vm_objects' to
look at the transit/hot object size.

Even if I SET the maximum in-memory object size to 10 KB,
squid HAD the following objects! (the diff of inmem_lo and inmem_hi is 299KB)

KEY CD0154B911563741E3E69CDB2E2D6FF0
      GET http://images.test.com/test_data/61/99/319.jpg
      STORE_OK IN_MEMORY SWAPOUT_NONE PING_DONE
      CACHABLE,DISPATCHED,VALIDATED
      LV:1232416172 LU:1232417107 LM:1231909989 EX:-1
      0 locks, 0 clients, 6 refs
      Swap Dir -1, File 0XFFFFFFFF
      inmem_lo: 0
      inmem_hi: 299187
      swapout: 0 bytes queued

In Squid, The Definitive Guide published by O'Reilly,
maximum_object_size_in_memory is the diff of inmem_lo and inmem_hi.
But the real implementation is seemed to be strange.

Any help will be highly appreciated.

Thanks in advance.

Tawan Won
Received on Tue Jan 20 2009 - 06:49:49 MST

This archive was generated by hypermail 2.2.0 : Wed Jan 21 2009 - 12:00:19 MST