URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 43436
[ Назад ]

Исходное сообщение
"Squid"

Отправлено Alexey Nenakhov , 28-Апр-04 18:16 
Есть такаяситуация, когда абонентам урезается скорость канала при прохождении через один роутер, а при прохождении через другой роутер они автоматически заворачиваются на transparent proxy (squid). Получается, что для абонента с урезанной полосой прокси сервер будет качать трафик с внешнего канала на максимальной скорости. И возможна такая ситуация, когда абонент делает закачку на большой файл (например образ диска), а затем чуть-чуть покачав - останавливает ее, а прокси в это время-то качает. Сделав такой финт раз 20 на разные файлы можно спокойно идти спать, т.к. прокси будет чем заниматься.

Как бороться?


Содержание

Сообщения в этом обсуждении
"Squid"
Отправлено yoprst , 28-Апр-04 19:05 
from squid.conf

#  TAG: quick_abort_min (KB)
#  TAG: quick_abort_max (KB)
#  TAG: quick_abort_pct (percent)
#       The cache by default continues downloading aborted requests
#       which are almost completed (less than 16 KB remaining). This
#       may be undesirable on slow (e.g. SLIP) links and/or very busy
#       caches.  Impatient users may tie up file descriptors and
#       bandwidth by repeatedly requesting and immediately aborting
#       downloads.
#
#       When the user aborts a request, Squid will check the
#       quick_abort values to the amount of data transfered until
#       then.
#
#       If the transfer has less than 'quick_abort_min' KB remaining,
#       it will finish the retrieval.
#
#       If the transfer has more than 'quick_abort_max' KB remaining,
#       it will abort the retrieval.
#
#       If more than 'quick_abort_pct' of the transfer has completed,
#       it will finish the retrieval.
#
#       If you do not want any retrieval to continue after the client
#       has aborted, set both 'quick_abort_min' and 'quick_abort_max'
#       to '0 KB'.
#
#       If you want retrievals to always continue if they are being
#       cached then set 'quick_abort_min' to '-1 KB'.
#
#Default:
# quick_abort_min 16 KB
# quick_abort_max 16 KB
# quick_abort_pct 95