Search squid archive

Fwd: Re: squid do the inverse of what it should do !!!!!!!!!!! help !!!!!!!!!

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

 



Note: forwarded message attached.


Be pink or not to be


       
____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/
--- Begin Message ---
--- Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote:

> pinky you wrote:
> > hello 
> > somebody HELP!!!!!!!!!!!
> > I have strange problem with squid , despite the
> fact I
> > am using squid for more than 3 years, 
> > lateley I install squid 2.6 ( on CentOS5 , I used
> the
> > rpm that come with the distor)  in transparent
> mode , 
> > cisco 2811 redirect the packet to squid via wccp2.
> 
> > everything works great till that day when Squid
> > inverse its purpose!!! ( its start to use far more
> > bandwidth than my users do ) you can see the mrtg
> > picturs below ( I put links for them).
> > when my users take 5Mbps squid eat 10Mbps I don't
> know
> > why.
> > ( the red line is what the users download while
> the
> > green is what squid download !!! crazy isn't it ) 
> >
> http://img377.imageshack.us/img377/831/1hourjm2.jpg
> >  
> >
> http://img517.imageshack.us/img517/96/24hourbd0.jpg
> >  
> > I tried everything . ( disabled the cache and make
> it
> > work as proxy only, used delay loop , change the
> > distro and change the squid version and even
> changed
> > the wccp options and version in the router and
> squid )
> > 
> > but the problem remains .
> 
> So after all that what version of squid do you have
> now?
> 
> > 
> > Please help me before losing my job !!! :( 
> >  
> > Oh the funny part is that cache manager does NOT
> give
> > me a negative hit rate !!!! I checked that too , I
> > disabled ICP and cache digest , I read all the
> think
> > thats relate to negative hit rate (although it is
> not
> > the case).
> 
> What are the most frequent hits (and misses)?

HTTP/1.0 200 OK
Server: squid/2.6.STABLE6
Date: Sun, 26 Aug 2007 11:56:22 GMT
Content-Type: text/plain
Expires: Sun, 26 Aug 2007 11:56:22 GMT
Last-Modified: Sun, 26 Aug 2007 11:56:22 GMT
X-Cache: MISS from cache.wattar
X-Cache-Lookup: MISS from cache.wattar:3128
Via: 1.0 cache.wattar:3128 (squid/2.6.STABLE6)
Proxy-Connection: close

Squid Object Cache: Version 2.6.STABLE6
Start Time:     Sat, 25 Aug 2007 12:19:43 GMT
Current Time:   Sun, 26 Aug 2007 11:56:22 GMT
Connection information for squid:
        Number of clients accessing cache:      190
        Number of HTTP requests received:       204892
        Number of ICP messages received:        0
        Number of ICP messages sent:    0
        Number of queued ICP replies:   0
        Request failure ratio:   0.00
        Average HTTP requests per minute since start: 
 144.6
        Average ICP messages per minute since start:  
 0.0
        Select loop called: 34471544 times, 2.466 ms
avg
Cache information for squid:
        Request Hit Ratios:     5min: 30.9%, 60min:
31.4%
        Byte Hit Ratios:        5min: 24.0%, 60min:
23.5%
        Request Memory Hit Ratios:      5min: 7.6%,
60min: 6.8%
        Request Disk Hit Ratios:        5min: 47.5%,
60min: 50.6%
        Storage Swap size:      1573692 KB
        Storage Mem size:       125620 KB
        Mean Object Size:       13.32 KB
        Requests given to unlinkd:      3737
Median Service Times (seconds)  5 min    60 min:
        HTTP Requests (All):   1.31166  1.31166
        Cache Misses:          2.02066  2.25116
        Cache Hits:            0.00379  0.00379
        Near Hits:             1.38447  1.38447
        Not-Modified Replies:  0.00286  0.00286
        DNS Lookups:           0.61955  0.61955
        ICP Queries:           0.00000  0.00000
Resource usage for squid:
        UP Time:        84998.812 seconds
        CPU Time:       151.833 seconds
        CPU Usage:      0.18%
        CPU Usage, 5 minute avg:        5.29%
        CPU Usage, 60 minute avg:       0.74%
        Process Data Segment Size via sbrk(): 184456
KB
        Maximum Resident Size: 0 KB
        Page faults with physical i/o: 1
Memory usage for squid via mallinfo():
        Total space in arena:  184456 KB
        Ordinary blocks:       182843 KB    532 blks
        Small blocks:               0 KB      0 blks
        Holding blocks:          2952 KB      2 blks
        Free Small blocks:          0 KB
        Free Ordinary blocks:    1612 KB
        Total in use:          185795 KB 99%
        Total free:              1612 KB 1%
        Total size:            187408 KB
Memory accounted for:
        Total accounted:       169413 KB
        memPoolAlloc calls: 25573097
        memPoolFree calls: 24588752
File descriptor usage for squid:
        Maximum number of file descriptors:   8192
        Largest file desc currently in use:   1071
        Number of file desc currently in use:  677
        Files queued for open:                   0
        Available number of file descriptors: 7515
        Reserved number of file descriptors:   100
        Store Disk files open:                  57
        IO loop method:                     epoll
Internal Data Structures:
        119811 StoreEntries
         26991 StoreEntries with MemObjects
         26736 Hot Object Cache Items
        118133 on-disk objects

> I'm thinking maybe its the users taking a preview
> look at a file tha 
> squid has to fully download to cache.
> ie, streaming video?
> 

how can I solve that !

> Other than that what does your cache.log say with
> debug level 1 or 2.
> 

> > there is nothing funny in squid logs I checked
> them
> > and there is nothing weird in the
> /var/log/messages
> > too. 
> > I disabled all the services that can be disabled
> in
> > the system especially anything that can do update.
> > I put a strict firewall rules ( stricts iptables
> rules
> > ) and strict acl in squid too. 
> > As I said I used different disto too ( I used
> Fedora7
> > on different server ) and I got the same problem. 
> > check for any rootkit , viruses, unusual traffic ,
> The
> > problem that happenned suddently , the only things
> > that works for me is turning squid off 
> > but I don't like that one. 
> > by the way squid works only as a transparant cache
> and
> > filter with dansguardian ( I disabled dansguardian
> and
> > the problem still there and even removed
> dansguradian
> > ) and before squid there is a gateway server that
> do
> > all the touch work , BW managment ,authentications
> > ..etc.  
> >
>
HEEEEEEEEEEEEELLLLLLLLLLLLLLLLLLLLPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
> > 
> > blablablabalalb 
> > hmmm I tried that too.
> >  
> > 
> > Be pink or not to be
> > 
> 
> Amos
> 


Be pink or not to be


       
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/

--- End Message ---

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

  Powered by Linux