- 论坛徽章:
- 0
|
流量就我一个在试验
配置如下:- icp_port 0
- http_port 8080
- visible_hostname ProxyServer
- cache_mgr webmaster@test.com
- cache_mem 32 MB
- cache_swap_low 90
- cache_swap_high 95
- #cache_dir ufs /var/spool/var/cache 800016 256
- coredump_dir /var/spool/squid 8000 16 2560
- hierarchy_stoplist cgi-bin ?
- hierarchy_stoplist -i ^https:\\ ?
- acl QUERY urlpath_regex -i cgi-bin \? \.asp \.php \.jsp \.cgi
- acl denyssl urlpath_regex -i ^https:\\
- no_cache deny QUERY
- no_cache deny denyssl
- ipcache_size 1024
- ipcache_low 90
- ipcache_high 95
- fqdncache_size 1024
- access_log /var/log/squid/access.log squid
- dns_nameservers 72.14.179.5
- acl all src 0.0.0.0/0.0.0.0
- acl allow_lan src 192.168.1.0/24
- no_cache deny all
- http_access allow all
- http_access deny all
- header_access Via deny all
- header_access Server deny all
- header_access X-Cache deny all
- header_access X-Cache-Lookup deny all
- httpd_suppress_version_string off
- forwarded_for off
- header_access All allow all
- connect_timeout 10 seconds
复制代码 mgr:info 信息如下- HTTP/1.0 200 OK
- Date: Tue, 15 Mar 2011 16:09:45 GMT
- Content-Type: text/plain
- Expires: Tue, 15 Mar 2011 16:09:45 GMT
- Connection: close
- Squid Object Cache: Version 2.7.STABLE9
- Start Time: Tue, 15 Mar 2011 15:40:07 GMT
- Current Time: Tue, 15 Mar 2011 16:09:45 GMT
- Connection information for squid:
- Number of clients accessing cache: 2
- Number of HTTP requests received: 626
- Number of ICP messages received: 0
- Number of ICP messages sent: 0
- Number of queued ICP replies: 0
- Number of HTCP messages received: 0
- Number of HTCP messages sent: 0
- Request failure ratio: 0.00
- Average HTTP requests per minute since start: 21.1
- Average ICP messages per minute since start: 0.0
- Select loop called: 11223 times, 158.419 ms avg
- Cache information for squid:
- Request Hit Ratios: 5min: 0.0%, 60min: 0.0%
- Byte Hit Ratios: 5min: 100.0%, 60min: -7.9%
- 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: 108 KB
- Mean Object Size: 0.00 KB
- Requests given to unlinkd: 0
- Median Service Times (seconds) 5 min 60 min:
- HTTP Requests (All): 0.00000 0.16775
- Cache Misses: 0.00000 0.16775
- Cache Hits: 0.00000 0.00000
- Near Hits: 0.00000 0.00000
- Not-Modified Replies: 0.00000 0.00000
- DNS Lookups: 0.00000 0.03532
- ICP Queries: 0.00000 0.00000
- Resource usage for squid:
- UP Time: 1777.935 seconds
- CPU Time: 0.433 seconds
- CPU Usage: 0.02%
- CPU Usage, 5 minute avg: 0.00%
- CPU Usage, 60 minute avg: 0.02%
- Process Data Segment Size via sbrk(): 4388 KB
- Maximum Resident Size: 24640 KB
- Page faults with physical i/o: 0
- Memory usage for squid via mallinfo():
- Total space in arena: 4388 KB
- Ordinary blocks: 2976 KB 31 blks
- Small blocks: 0 KB 0 blks
- Holding blocks: 280 KB 1 blks
- Free Small blocks: 0 KB
- Free Ordinary blocks: 1411 KB
- Total in use: 3256 KB 70%
- Total free: 1411 KB 30%
- Total size: 4668 KB
- Memory accounted for:
- Total accounted: 1052 KB
- memPoolAlloc calls: 73447
- memPoolFree calls: 72574
- File descriptor usage for squid:
- Maximum number of file descriptors: 1024
- Largest file desc currently in use: 13
- Number of file desc currently in use: 10
- Files queued for open: 0
- Available number of file descriptors: 1014
- Reserved number of file descriptors: 100
- Store Disk files open: 0
- IO loop method: epoll
- Internal Data Structures:
- 27 StoreEntries
- 27 StoreEntries with MemObjects
- 26 Hot Object Cache Items
- 0 on-disk objects
复制代码 各位大大 帮忙看看 我找了快晕了
在本地没有那个问题
架在公网上就出现这个 client 到代理proxy 大约300ms的延迟 |
|