ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] Squid не выдет странички из кэша :-(
@ 2001-04-18 23:31 Andrew Ilchenko
  0 siblings, 0 replies; only message in thread
From: Andrew Ilchenko @ 2001-04-18 23:31 UTC (permalink / raw)
  To: mandrake-russian

[-- Attachment #1: Type: text/plain, Size: 441 bytes --]

Hi All!

Проблема в следующем - Squid не хочет выдавать странички из кэша.
Как проверял:
1. Открываю в браузере любой сайт (работа через прокси). Squid берет
содержимое с сайта. В логах стоит DIRECT.
2. Закрываю браузер, очищаю локальный кэш.
3. Открываю еще раз тот же сайт. Squid опять лезет напрямую (в логах опять
DIRECT).
Стоит Squid 2.3.STABLE3.
Конфиг прилагаю.
Подскажите как обуздать этого монстра.

С уважением,
Ильченко Андрей.



[-- Attachment #2: squid.conf.txt --]
[-- Type: text/plain, Size: 2648 bytes --]

cache_peer big Parent 3128 3130
icp_query_timeout 0
maximum_icp_query_timeout 2000
mcast_icp_query_timeout 2000
dead_peer_timeout 10 seconds
hierarchy_stoplist ?
cache_mem 20971520 bytes
cache_swap_low 90
cache_swap_high 95
maximum_object_size 2146304 bytes
minimum_object_size 0 bytes
ipcache_size 1024
ipcache_low 90
ipcache_high 95
fqdncache_size 1024
cache_dir ufs /usr/local/squid-2.3/cache 200 16 256
emulate_httpd_log off
log_mime_hdrs off
debug_options ALL,1
log_fqdn on
client_netmask 255.255.255.255
ftp_user anonymous@
ftp_list_width 32
ftp_passive on
cache_dns_program /usr/local/squid-2.3/bin/dnsserver
dns_children 7
dns_defnames off
redirect_children 5
redirect_rewrites_host_header on
authenticate_children 5
authenticate_ttl 3600
authenticate_ip_ttl 0
wais_relay_port 0
request_header_max_size 10240 bytes
request_body_max_size 2097152 bytes
reply_body_max_size 0 bytes
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
replacement_policy GDSF
reference_age 604800 seconds
quick_abort_min 16 KB
quick_abort_max 16 KB
quick_abort_pct 95
negative_ttl 60 seconds
positive_dns_ttl 21600 seconds
negative_dns_ttl 300 seconds
range_offset_limit 0 bytes
connect_timeout 120 seconds
peer_connect_timeout 30 seconds
siteselect_timeout 4 seconds
read_timeout 300 seconds
request_timeout 30 seconds
client_lifetime 3600 seconds
half_closed_clients on
pconn_timeout 120 seconds
shutdown_lifetime 30 seconds
acl FTP proto ftp
announce_period 31536000 seconds
announce_host tracker.ircache.net
announce_port 3131
httpd_accel_port 80
httpd_accel_with_proxy off
httpd_accel_uses_host_header off
logfile_rotate 10
tcp_recv_bufsize 0 bytes
err_html_text 
memory_pools on
memory_pools_limit 0 bytes
forwarded_for on
log_icp_queries off
icp_hit_stale off
minimum_direct_hops 4
store_avg_object_size 13 KB
store_objects_per_bucket 50
client_db on
netdb_low 900
netdb_high 1000
netdb_ping_period 300 seconds
query_icmp off
test_reachability off
buffered_logs off
reload_into_ims off
always_direct Allow FTP
minimum_retry_timeout 5 seconds
maximum_single_addr_tries 3
delay_pools 0
delay_initial_bucket_level 50
incoming_icp_average 6
incoming_http_average 4
min_icp_poll_cnt 8
min_http_poll_cnt 8
max_open_disk_fds 0
offline_mode off
uri_whitespace strip
prefer_direct on
strip_query_terms on
redirector_bypass off
ignore_unknown_nameservers on
digest_generation on
digest_bits_per_entry 5
digest_rebuild_period 3600 seconds
digest_rewrite_period 3600 seconds
digest_swapout_chunk_size 4096 bytes
digest_rebuild_chunk_percentage 10
client_persistent_connections on
server_persistent_connections on


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-18 23:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-18 23:31 [mdk-re] Squid не выдет странички из кэша :-( Andrew Ilchenko

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git