[FUG-BR] squid lento

Lutieri G. lutierigbtrabalho em gmail.com
Segunda Agosto 27 14:04:12 BRT 2007


Acabou de ficar lento quase travando:

# netstat -m
807/1698/2505 mbufs in use (current/cache/total)
806/1162/1968/25600 mbuf clusters in use (current/cache/total/max)
806/1016 mbuf+clusters out of packet secondary zone in use (current/cache)
0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
1813K/2748K/4562K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/0/0 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
46 calls to protocol drain routines



# squidclient mgr:info
HTTP/1.0 200 OK
Date: Mon, 27 Aug 2007 17:02:43 GMT
Content-Type: text/plain
Expires: Mon, 27 Aug 2007 17:02:43 GMT
Last-Modified: Mon, 27 Aug 2007 17:02:43 GMT
X-Cache: MISS from proxy
X-Cache-Lookup: MISS from proxy:3128
Via: 1.0 proxy:3128 (squid/2.6.STABLE14)
Proxy-Connection: close

Squid Object Cache: Version 2.6.STABLE14
Start Time:     Mon, 27 Aug 2007 16:51:41 GMT
Current Time:   Mon, 27 Aug 2007 17:02:43 GMT
Connection information for squid:
        Number of clients accessing cache:      53
        Number of HTTP requests received:       3554
        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:   322.2
        Average ICP messages per minute since start:    0.0
        Select loop called: 12000 times, 55.152 ms avg
Cache information for squid:
        Request Hit Ratios:     5min: 23.8%, 60min: 22.8%
        Byte Hit Ratios:        5min: 17.2%, 60min: 17.2%
        Request Memory Hit Ratios:      5min: 2.4%, 60min: 1.9%
        Request Disk Hit Ratios:        5min: 38.4%, 60min: 42.9%
        Storage Swap size:      694948 KB
        Storage Mem size:       1484 KB
        Mean Object Size:       11.13 KB
        Requests given to unlinkd:      54
Median Service Times (seconds)  5 min    60 min:
        HTTP Requests (All):   0.80651  0.61549
        Cache Misses:          1.38447  1.00114
        Cache Hits:            0.35832  0.24524
        Near Hits:             0.89858  0.94847
        Not-Modified Replies:  0.18699  0.17711
        DNS Lookups:           0.59263  0.49613
        ICP Queries:           0.00000  0.00000
Resource usage for squid:
        UP Time:        661.824 seconds
        CPU Time:       339.283 seconds
        CPU Usage:      51.26%
        CPU Usage, 5 minute avg:        84.44%
        CPU Usage, 60 minute avg:       51.21%
        Process Data Segment Size via sbrk(): 34560 KB
        Maximum Resident Size: 38176 KB
        Page faults with physical i/o: 0
Memory accounted for:
        Total accounted:        10959 KB
        memPoolAlloc calls: 711815
        memPoolFree calls: 512760
File descriptor usage for squid:
        Maximum number of file descriptors:   11072
        Largest file desc currently in use:    172
        Number of file desc currently in use:  143
        Files queued for open:                   0
        Available number of file descriptors: 10929
        Reserved number of file descriptors:   100
        Store Disk files open:                   2
        IO loop method:                     kqueue
Internal Data Structures:
         62485 StoreEntries
           326 StoreEntries with MemObjects
           310 Hot Object Cache Items
         62416 on-disk objects
-- 

Esse números acima que eu não sei interpretar. Se alguém puder me
dizer se tem algo errado fico grato!


Att.
Lutieri G. B.


Mais detalhes sobre a lista de discussão freebsd