Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Volodymyr G. Mosiychuk               2:5020/400     02 Aug 2004  22:29:09
 To : All
 Subject : squid
 -------------------------------------------------------------------------------- 
 
 
 Доброго времени суток уважаемый All!!
 
 У меня проблемка с работой сабжа, посмотрите плз:
 
 =======================squid.conf=====================
 
 http_port 192.168.1.10:3128
 
 hierarchy_stoplist cgi-bin ?
 
 acl QUERY urlpath_regex cgi-bin \?
 
 no_cache deny QUERY
 
 cache_mem 1 MB
 
 cache_swap_low 90
 
 cache_swap_high 95
 
 maximum_object_size 4096 KB
 
 minimum_object_size 0 KB
 
 maximum_object_size_in_memory 64 KB
 
 ipcache_size 1024
 
 ipcache_low 90
 
 ipcache_high 95
 
 cache_dir ufs /usr/local/squid/cache 100 16 256
 
 cache_access_log /usr/local/squid/logs/access.log
 
 cache_log /usr/local/squid/logs/cache.log
 
 cache_store_log /usr/local/squid/logs/store.log
 
 pid_filename /usr/local/squid/logs/squid.pid
 
 acl all src 0.0.0.0/0.0.0.0
 
 acl manager proto cache_object
 
 acl localhost src 127.0.0.1/255.255.255.255
 
 acl SSL_ports port 443 563
 
 acl Safe_ports port 80 # http
 
 acl Safe_ports port 21 # ftp
 
 acl Safe_ports port 443 563 # https, snews
 
 acl Safe_ports port 70 # gopher
 
 acl Safe_ports port 210 # wais
 
 acl Safe_ports port 1025-65535 # unregistered ports
 
 acl Safe_ports port 280 # http-mgmt
 
 acl Safe_ports port 488 # gss-http
 
 acl Safe_ports port 591 # filemaker
 
 acl Safe_ports port 777 # multiling http
 
 acl CONNECT method CONNECT
 
 http_access allow manager localhost
 
 http_access deny manager
 
 http_access deny !Safe_ports
 
 http_access deny CONNECT !SSL_ports
 
 http_access deny all
 
 icp_access allow all
 
 visible_hostname proxy.northnet.rv.ua
 
 ====================================================
 
 =======================cache.log======================
 
 2004/08/02 13:21:10| Starting Squid Cache version 2.4.STABLE7 for
 i386-portbld-freebs
 2004/08/02 13:21:10| Process ID 775
 2004/08/02 13:21:10| With 2127 file descriptors available
 2004/08/02 13:21:10| Performing DNS Tests...
 2004/08/02 13:21:10| Successful DNS name lookup tests...
 2004/08/02 13:21:10| DNS Socket created on FD 4
 2004/08/02 13:21:10| Adding nameserver 127.0.0.1 from /etc/resolv.conf
 2004/08/02 13:21:10| Adding nameserver 194.44.212.131 from /etc/resolv.conf
 2004/08/02 13:21:10| Unlinkd pipe opened on FD 9
 2004/08/02 13:21:10| Swap maxSize 102400 KB, estimated 7876 objects
 2004/08/02 13:21:10| Target number of buckets: 393
 2004/08/02 13:21:10| Using 8192 Store buckets
 2004/08/02 13:21:10| Max Mem  size: 1024 KB
 2004/08/02 13:21:10| Max Swap size: 102400 KB
 2004/08/02 13:21:10| Rebuilding storage in /usr/local/squid/cache (CLEAN)
 2004/08/02 13:21:10| Using Least Load store dir selection
 2004/08/02 13:21:10| Set Current Directory to /usr/local/squid/cache
 2004/08/02 13:21:10| Loaded Icons.
 2004/08/02 13:21:10| Accepting HTTP connections at 192.168.1.10, port 3128,
 FD 10.
 2004/08/02 13:21:10| Accepting ICP messages at 0.0.0.0, port 3130, FD 11.
 2004/08/02 13:21:10| WCCP Disabled.
 2004/08/02 13:21:10| Ready to serve requests.
 2004/08/02 13:21:16| Done scanning /usr/local/squid/cache swaplog (0
 entries)
 2004/08/02 13:21:16| Finished rebuilding storage from disk.
 2004/08/02 13:21:16|         0 Entries scanned
 2004/08/02 13:21:16|         0 Invalid entries.
 2004/08/02 13:21:16|         0 With invalid flags.
 2004/08/02 13:21:16|         0 Objects loaded.
 2004/08/02 13:21:16|         0 Objects expired.
 2004/08/02 13:21:16|         0 Objects cancelled.
 2004/08/02 13:21:16|         0 Duplicate URLs purged.
 2004/08/02 13:21:16|         0 Swapfile clashes avoided.
 2004/08/02 13:21:16|   Took 5.5 seconds (   0.0 objects/sec).
 2004/08/02 13:21:16| Beginning Validation Procedure
 2004/08/02 13:21:16|   Completed Validation Procedure
 2004/08/02 13:21:16|   Validated 0 Entries
 2004/08/02 13:21:16|   store_swap_size = 42k
 2004/08/02 13:21:17| storeLateRelease: released 0 objects
 2004/08/02 13:39:25| Preparing for shutdown after 0 requests
 2004/08/02 13:39:25| Waiting 30 seconds for active connections to finish
 2004/08/02 13:39:25| FD 10 Closing HTTP connection
 2004/08/02 13:39:26| Shutting down...
 2004/08/02 13:39:26| FD 11 Closing ICP connection
 2004/08/02 13:39:26| Closing unlinkd pipe on FD 9
 2004/08/02 13:39:26| storeDirWriteCleanLogs: Starting...
 2004/08/02 13:39:26|   Finished.  Wrote 0 entries.
 2004/08/02 13:39:26|   Took 0.0 seconds (   0.0 entries/sec).
 CPU Usage: 1.365 seconds = 0.319 user + 1.046 sys
 Maximum Resident Size: 9440 KB
 Page faults with physical i/o: 2
 2004/08/02 13:39:26| Squid Cache (Version 2.4.STABLE7): Exiting normally.
 ===================================================
 
 Прописал в эксплорере 192.168.1.10 : 3128
 
 Юзал где-то 15 мин. накачал 2Мб но кеш остался пустым пустой!!!
 
 Заранее благодарен, Владимир.
 --- ifmail v.2.15dev5.3
  * Origin: Ukranian Academic Research Network (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 squid   Volodymyr G. Mosiychuk   02 Aug 2004 22:29:09 
Архивное /ru.unix.bsd/647788536137.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional