PDA

Просмотр полной версии : delay pool под отдельный хост


Sir Arthur
15.03.2007, 17:18
Хочу сделать тонкий-тонкий канал под photofile
пишу в конфе сквида:
пул

proxy ~ # cat /etc/squid/squid.conf |grep delay
delay_pools 3
delay_class 3 3
delay_parameters 3 4000/4000 4000/4000 4000/4000

acl
proxy ~ # cat /etc/squid/squid.conf |grep foto
acl fotofile urlpath_regex -i photofile.ru
delay_access 3 allow fotofile
релоад - не работает.
добавляю:

acl fotofail dst 195.239.111.3/255.255.255.255
delay_access 3 allow fotofile
delay_access 3 allow fotofail
delay_access 3 allow fotofil
+1 - not working
add

acl fotofil browser photofile.ru
delay_access 3 allow fotofile
delay_access 3 allow fotofail
delay_access 3 allow fotofil

Собственно вопрос - что я делаю не так?
Кеш на клиенте сбрасывал

lirien
16.03.2007, 06:57
Попробуй так :)

elay_pools 1
delay_class 1 3
delay_parameters 1 4000/4000 4000/4000 4000/4000
acl fotofile url_regex -i photofile\.ru
delay_access 1 allow fotofile
delay_access deny all

Sir Arthur
16.03.2007, 08:39
:respect: работает.
*Пошел гуглить

Sir Arthur
16.03.2007, 09:06
Upd. Правда есть одно"но". Стакими параметрами пула в 4к байт, жутко медленно отрабатываются любые сайты.