Search squid archive

Re: Objects Release from Cache Earlier Than Expected

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

 



Hi -

Here's some additional info I noticed from the store.log.

1224524455.351
SWAPOUT 00 0003A6CB 7377CBD1A7584A5D7C7FD06B5B827595  200 1224524431
1224522501        -1 video/jpeg 1337100/1337100 GET http://ftp.mydomain.com/myserver/websites/data/MyVideoFile1020130441180.vid
1224544851.517
RELEASE 00 0003A6CB CD5B96F66CC94483D586D7E67A76A94C  200 1224524431
1224522501        -1 video/jpeg 1337100/-279 GET http://ftp.mydomain.com/myserver/websites/data/MyVideoFile1020130441180.vid
1224544862.563
SWAPOUT 00 0003CA26 7377CBD1A7584A5D7C7FD06B5B827595  200 1224544840
1224522501        -1 video/jpeg 1337100/1337100 GET http://ftp.mydomain.com/myserver/websites/data/MyVideoFile1020130441180.vid

Trace breaks down as follows.
1)  File was first pre-fetched by wget program.
2)  File was released by cache.
3)  File was re-fetch when a user tried to access it.

The
thing that stuck out is that in the RELEASE line of the log, the
real-length is a negative number (-279).  What does this mean exactly?


----- Original Message ----
From: BUI18 <lbui18@xxxxxxxxx>
To: squid-users@xxxxxxxxxxxxxxx
Sent: Monday, October 20, 2008 4:02:52 PM
Subject:  Objects Release from Cache Earlier Than Expected

Hi -

I have been trying to track down an issue with Squid 2.6 STABLE18 and why users were getting TCP_REFRESH_MISS instead of TCP_REFRESH_HIT on files that were recently cached.  We first noticed that users were getting misses when we expected them to receive hits.

I have set the min and max age to be 5 and 7 days respectively.  When I look in the store.log file, I do see objects which were known to have been cached today (base on time/date stamp in the file name), yet they have status code of RELEASE.  

The cache_dir (1 TB) on this system is only 25% full.  The low watermark is set at 95% with high at 97%.

Does any one have any ideas on why Squid would appear to purge the object earlier than expected?

Thanks in advance.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

  Powered by Linux