Search squid archive

Re: slower connections using squid (squid is slowing down all connections)

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

 



Hi Chris,

> Okay... These look pretty good.  Hits are fast, misses are okay, DNS
> requests are about what I would expect...  I'm a bit perplexed.  What are
> the symptoms of slow connections?  Is it throughput on large downloads,
> pages with lots of connections (msn.com with it's thousands of images),
> does it just take forever for a connection to get started, or is it
> something else entirely?

NO, the situation is very simple: not matter content of page. Even if 
www.google.com is accesed, it take more then 20-30s to load/display it 
correctly. Without squid, www.google.com is loaded instantly!

If matter, i am using pam_mysql plugin to autenticate users via mysql 
database. All our squid users are virtuals (no one shell account).

Saturday (not a working day) on 24th i tested squid again arround 15 PM. The 
speed seems to be good!!!!

Below comes runtime infos:

Connection information for squid:
 Number of clients accessing cache: 93
 Number of HTTP requests received: 80035
 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: 50.7
 Average ICP messages per minute since start: 0.0
 Select loop called: 1395442 times, 67.901 ms avg
Cache information for squid:
 Request Hit Ratios: 5min: 31.8%, 60min: 30.4%
 Byte Hit Ratios: 5min: 30.7%, 60min: 16.8%
 Request Memory Hit Ratios: 5min: 73.9%, 60min: 15.9%
 Request Disk Hit Ratios: 5min: 20.8%, 60min: 32.2%
 Storage Swap size: 4279168 KB
 Storage Mem size: 88348 KB
 Mean Object Size: 17.93 KB
 Requests given to unlinkd: 0
Median Service Times (seconds)  5 min    60 min:
 HTTP Requests (All):   0.22004  0.07825
 Cache Misses:          0.28853  0.23230
 Cache Hits:            0.00598  0.00767
 Near Hits:             0.00562  0.14252
 Not-Modified Replies:  0.00000  0.00286
 DNS Lookups:           0.25460  0.30421
 ICP Queries:           0.00000  0.00000
Resource usage for squid:
 UP Time: 94751.350 seconds
 CPU Time: 90.325 seconds
 CPU Usage: 0.10%
 CPU Usage, 5 minute avg: 0.20%
 CPU Usage, 60 minute avg: 0.09%
 Process Data Segment Size via sbrk(): 125348 KB
 Maximum Resident Size: 0 KB
 Page faults with physical i/o: 1
Memory usage for squid via mallinfo():
 Total space in arena:  125348 KB
 Ordinary blocks:       125197 KB   4170 blks
 Small blocks:               0 KB      0 blks
 Holding blocks:          1784 KB      3 blks
 Free Small blocks:          0 KB
 Free Ordinary blocks:     150 KB
 Total in use:          126981 KB 100%
 Total free:               150 KB 0%
 Total size:            127132 KB
Memory accounted for:
 Total accounted:       111186 KB
 memPoolAlloc calls: 11312114
 memPoolFree calls: 10645444
File descriptor usage for squid:
 Maximum number of file descriptors:   1024
 Largest file desc currently in use:    126
 Number of file desc currently in use:  111
 Files queued for open:                   0
 Available number of file descriptors:  913
 Reserved number of file descriptors:   100
 Store Disk files open:                   0
Internal Data Structures:
 238974 StoreEntries
   7753 StoreEntries with MemObjects
   7752 Hot Object Cache Items
 238643 on-disk objects

Alex

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

  Powered by Linux