Le lundi 28 juin 2010 15:09:53, Baird, Josh a écrit : > Hi, > > I have a pair of forward proxy's (Squid 2.6STABLE 21/EL5 averaging about > 500-600requests per minute currently. All caching has been disabled. > Some users are reporting high latency and slow browsing. Below is a > snapshot of stats from Squid. Could someone tell me if anything stands > out that would cause a problem? Service times look to be acceptable to > me, but perhaps I am looking at them incorrectly? > > You can also view a graph of 5min service times at > http://thunder.jbdesign.net/~jbaird/servicetimes.png > > Squid Object Cache: Version 2.6.STABLE21 > Start Time: Sun, 27 Jun 2010 15:17:41 GMT > Current Time: Mon, 28 Jun 2010 20:04:09 GMT > Connection information for squid: > Number of clients accessing cache: 5 > Number of HTTP requests received: 848091 > 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: 491.2 > Average ICP messages per minute since start: 0.0 > Select loop called: 20321720 times, 5.097 ms avg > Cache information for squid: > Request Hit Ratios: 5min: 0.0%, 60min: 0.0% > Byte Hit Ratios: 5min: 0.7%, 60min: 1.0% > Request Memory Hit Ratios: 5min: 0.0%, 60min: 0.0% > Request Disk Hit Ratios: 5min: 0.0%, 60min: 0.0% > Storage Swap size: 0 KB > Storage Mem size: 288 KB > Mean Object Size: 0.00 KB > Requests given to unlinkd: 0 > Median Service Times (seconds) 5 min 60 min: > HTTP Requests (All): 0.06286 0.05633 > Cache Misses: 0.06286 0.05633 > Cache Hits: 0.00000 0.00000 > Near Hits: 0.00000 0.00000 > Not-Modified Replies: 0.00000 0.00000 > DNS Lookups: 0.00573 0.00669 > ICP Queries: 0.00000 0.00000 > Resource usage for squid: > UP Time: 103588.205 seconds > CPU Time: 493.167 seconds > CPU Usage: 0.48% > CPU Usage, 5 minute avg: 1.35% > CPU Usage, 60 minute avg: 1.63% > Process Data Segment Size via sbrk(): 17996 KB > Maximum Resident Size: 0 KB > Page faults with physical i/o: 0 > Memory usage for squid via mallinfo(): > Total space in arena: 18128 KB > Ordinary blocks: 14029 KB 213 blks > Small blocks: 0 KB 0 blks > Holding blocks: 356 KB 1 blks > Free Small blocks: 0 KB > Free Ordinary blocks: 4098 KB > Total in use: 14385 KB 78% > Total free: 4098 KB 22% > Total size: 18484 KB > Memory accounted for: > Total accounted: 4184 KB > memPoolAlloc calls: 116115679 > memPoolFree calls: 116109502 > File descriptor usage for squid: > Maximum number of file descriptors: 1024 > Largest file desc currently in use: 544 > Number of file desc currently in use: 408 > Files queued for open: 0 > Available number of file descriptors: 616 > Reserved number of file descriptors: 100 > Store Disk files open: 0 > IO loop method: epoll > Internal Data Structures: > 57 StoreEntries > 57 StoreEntries with MemObjects > 26 Hot Object Cache Items > 0 on-disk objects > > Thanks, > > Josh we should know what is "slow", how ever your times are good. check your dns, first by hand to see if there is the problem try to disable any inverse resolution you may have in your squid.conf put more ttl in dns request, not too much turn on cache, this will help allot, if you worry about IO just run on mem_cache turn off log, or send to other location with syslog (look in your top about IO waiting) LD