Re: [squid-users] Trying to Understand store.log

2005-03-09 Thread razidan
Hi! Thanks for responding guys. Just a few more things i'd like to ask.

Sometimes i see a chunk of RELEASEs in my store.log, like the one i pasted 
below:

1110425770.321 RELEASE 00 7741 
D64A0D5365FA20E43C91BEE0FEE8ADED   ?         ?         ?         ? ?/? ?/? ? ?
1110425770.321 RELEASE 00 7742 
A90F273E0F3C6426A0DA916CC7E10ADA   ?         ?         ?         ? ?/? ?/? ? ?
1110425770.321 RELEASE 00 7743 
0EA0A4540101915DB6E8B779B4DC57E1   ?         ?         ?         ? ?/? ?/? ? ?
1110425770.321 RELEASE 00 6007 
FE00345BA3BBB05EAF25D746CCE16474   ?         ?         ?         ? ?/? ?/? ? ?
1110425770.321 RELEASE 00 6008 
50C1876792CFC597A9E8BD4035C2F4D0   ?         ?         ?         ? ?/? ?/? ? ?
1110425770.321 RELEASE 00 600A 
DDDBB2D953F46D566F85ECB40F3BCD82   ?         ?         ?         ? ?/? ?/? ? ?
1110425770.321 RELEASE 00 6009 
0FBE08C93532D345B0913D8564ED7EE1   ?         ?         ?         ? ?/? ?/? ? ?
1110425770.321 RELEASE 00 600B 
54EADAC90C62D89FAD45139A4A0B3EE4   ?         ?         ?         ? ?/? ?/? ? ?
1110425770.321 RELEASE 00 600C 
C8B8A181100164A14851704516755E1D   ?         ?         ?         ? ?/? ?/? ? ?
1110425770.321 RELEASE 00 600D 
70FD45EEFC9C0DC41E93A5EC1EDB73BA   ?         ?         ?         ? ?/? ?/? ? ?
1110425771.661 RELEASE 00 600E 
7E2A3BC503347574FB7AAD09B5061146   ?         ?         ?         ? ?/? ?/? ? ?
1110425771.661 RELEASE 00 600F 
FC43B7C50E2C57F2414DEF24C186591F   ?         ?         ?         ? ?/? ?/? ? ?
1110425771.661 RELEASE 00 6011 
4E7264022129E018D56F6D1A1950F8A4   ?         ?         ?         ? ?/? ?/? ? ?
1110425771.661 RELEASE 00 6010 
42BDD7C5F4895BB19681976F53255DC2   ?         ?         ?         ? ?/? ?/? ? ?
1110425771.661 RELEASE 00 AF2A 
07136956B408C4FCBB0AE06ACE7AC44A   ?         ?         ?         ? ?/? ?/? ? ?
1110425771.661 RELEASE 00 AF2B 
67D74DA4A7616D2BD1FB81D837BBB78A   ?         ?         ?         ? ?/? ?/? ? ?
1110425771.661 RELEASE 00 AF2C 
72825E28A0462EF6000C2254E8EEB0A0   ?         ?         ?         ? ?/? ?/? ? ?
1110425771.661 RELEASE 00 AF2E 
717219C5C00A6E30797070B14F341BDE   ?         ?         ?         ? ?/? ?/? ? ?
1110425771.661 RELEASE 00 AF2D 
507B6618D5ED329466902F190BA0FDEB   ?         ?         ?         ? ?/? ?/? ? ?
1110425771.661 RELEASE 00 AF2F 
EDFDCB9F9647FF434C816239E4AE6140   ?         ?         ?         ? ?/? ?/? ? ?
1110425773.658 RELEASE 00 AF30 
35ECA12247C7F2C9E321619C11A6639C   ?         ?         ?         ? ?/? ?/? ? ?
1110425773.658 RELEASE 00 AF31 
92ADDFFCD2EA4208B8CBE30308AF86AB   ?         ?         ?         ? ?/? ?/? ? ?
1110425773.658 RELEASE 00 AF32 
371D4DF360642B0531013D48B28CCFAB   ?         ?         ?         ? ?/? ?/? ? ?
1110425773.658 RELEASE 00 AF33 
534D8E249456F8904A9AF5EB503EB14A   ?         ?         ?         ? ?/? ?/? ? ?
1110425773.658 RELEASE 00 AF34 
1B88BC9745ADFCB8B13311E08E88C79F   ?         ?         ?         ? ?/? ?/? ? ?
1110425773.658 RELEASE 00 AF35 
4F9EB1D221B100D52344D447E4F50A0B   ?         ?         ?         ? ?/? ?/? ? ?
1110425773.658 RELEASE 00 AF36 
85A3D899E4BCB39338702B3E9596485D   ?         ?         ?         ? ?/? ?/? ? ?
1110425773.658 RELEASE 00 AF37 
413F10EE39BD27C4300F6A1EB90C4545   ?         ?         ?         ? ?/? ?/? ? ?

Does this mean the cache is being cleared? What would cause it? Not enough 
space to store cache in memory? Not enough space in disk to store the cache? 

I'm trying to see if I have a wrong cache_mem (which is set at 189MB) or 
cache_dir (cache_dir ufs /var/spool/squid 1094 16 256) setting.

I just found a squid optimizer log file reporter tool: squeezer2, and when i 
ran it i got the following result:

RequestsReq %
TCP_MISS31,634  52.28%
TCP_HIT 5,245   8.67
TCP_REFRESH_HIT 2,776   4.59
TCP_MEM_HIT 5,334   8.81
TCP_CLIENT_REFRESH_MISS 464 0.77
TCP_SWAPFAIL_MISS   1,790   2.96
TCP_IMS_HIT 12,655  20.91
TCP_REFRESH_MISS223 0.37
TCP_DENIED  284 0.47
TCP_NEGATIVE_HIT107 0.18

At the summary page, it mentions that the Hit Rate is at 41.96%.

Is my squid implementation running within normal standards?

Thanks again.


Re: [squid-users] No cache to one IP address

2005-03-08 Thread razidan
On Tuesday 08 March 2005 10:49, Henrik Nordstrom wrote:
 On Tue, 8 Mar 2005, razidan wrote:
  I didn't read over what I wrote before I sent it...
 
  Is there any way to check whether if the websites accessed from
  192.168.0.14 are being cached or not?

 store.log. If there is SWAPOUT entries maching your requests then objects
 got cached.

 or clearing your browser cache and then access the same page again (but
 NOT by pressing the reload button). If cached you should see TCP_HIT, if
 not cached only TCP_MISS.


It seems to be working as it should be. I was the one looking at the wrong 
place. Thanks guy.


[squid-users] No cache to one IP address

2005-03-07 Thread razidan
hi! I'm trying to configure squid so that web traffic to my IP address will 
not be cached. 

I added the following line into squid.conf but it's still caching all the 
websites i visit. 

acl ipnocache src 192.168.0.14
no_cache deny ipnocache

Am i missing something? 

Please help.

Thanks.


Re: [squid-users] No cache to one IP address

2005-03-07 Thread razidan
On Tuesday 08 March 2005 08:54 am, you wrote:
 --  Forwarded Message  --

 Subject: Re: [squid-users] No cache to  one IP address
 Date: Monday 07 March 2005 19:45
 From: Henrik Nordstrom [EMAIL PROTECTED]
 To: razidan [EMAIL PROTECTED]
 Cc: squid-users@squid-cache.org

 On Mon, 7 Mar 2005, razidan wrote:
  hi! I'm trying to configure squid so that web traffic to my IP address
  will not be cached.
 
  I added the following line into squid.conf but it's still caching all the
  websites i visit.
 
  acl ipnocache src 192.168.0.14
  no_cache deny ipnocache

 Looks good to me.

 Which Squid version?
Squid Version: 2.5.STABLE6-2.2.101mdk
Running on Mandrakelinux 10.1


 How have you determined it is caching the sites you visit?
I used 'tail -f -n 100 access.log' to check the access log and i still see the 
following lines:

1110244681.832    719 192.168.0.14 TCP_MISS/200 3365 GET 
http://www.hp.com/country/us/en/img/n4_welcome/hho/b1_hho_text.gif - 
DIRECT/161.114.22.111 image/gif
1110244682.735   1606 192.168.0.14 TCP_MISS/200 10880 GET 
http://www.hp.com/country/us/en/img/n4_welcome/hho/promo_warehouse.gif - 
DIRECT/161.114.22.105 image/gif
1110244682.945   1788 192.168.0.14 TCP_MISS/200 16842 GET 
http://www.hp.com/country/us/en/img/n4_welcome/hho/b1_hho_photo.jpg - 
DIRECT/161.114.22.111 image/jpeg
1110244684.426   5150 192.168.0.14 TCP_MISS/200 51027 GET http://www.hp.com/ - 
DIRECT/161.114.22.105 text/html
1110244685.607    559 192.168.0.14 TCP_MISS/302 1049 GET 
http://hphqglobal.112.2o7.net/b/ss/hphqglobal,hphqna/1/G.7-PD-R/s09995544864794?
 
- DIRECT/216.52.17.216 text/plain
1110244686.658    705 192.168.0.14 TCP_MISS/200 895 GET 
http://hphqglobal.112.2o7.net/b/ss/hphqglobal,hphqna/1/G.7-PD-R/s09995544864794?
 
- DIRECT/216.52.17.236 image/gif


I think if the lines are visible in access.log for 192.168.0.14, then its 
being cached, correct me if i'm wrong pls.