From: "Konstantin A. Lepikhov" <lakostis@unsafe.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] apache 1.3 mod_throttle
Date: Mon, 22 Oct 2007 01:22:13 +0400
Message-ID: <20071021212213.GC3947@lks.home> (raw)
In-Reply-To: <200710211443.11576.iadzhubey@rics.bwh.harvard.edu>
Hi Ivan!
Sunday 21, at 02:43:11 PM you wrote:
> Приветствую!
>
> Вот понадобилось притормозить особо ретивых качателей, на сервере стоит
> apache-1.3.39rusPL30.23-alt2. Поставил mod_throttle, настроил Policy speed
> насколько сумел разобраться. Но что-то не похоже, что оно работает. Если я
> делаю модулю ресет (на страничке throttle-status) и сразу же запускаю
> скачивание, то мой wget качает все время с максимальной скоростью соединения
> (которая заведомо больше установленного лимита), а остальным просто без конца
> выдается отлуп по Service Temporarily Unavailable. Понятно, что это не совсем
> то, что хотелось бы. Попытки покрутить time period и ThrottleMaxDelay не
> приводят к заметному результату. Кто-нибудь может поделиться примером
> рабочего конфига? А то модуль уже не поддерживается и автор убрал всякое
> упоминание о нем из сету (я не в курсе, что там призошло), с трудом нашел
> копию странички с документацией, но там все очень кратко описано и без
> примеров.
>
> --Иван
а может лучше nginx'ом скорость резать?
...
location /misc/music {
set $limit_rate 128k;
limit_conn one 2;
alias /opt/music;
autoindex on;
}
как-то так.
--
WBR et al.
next prev parent reply other threads:[~2007-10-21 21:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-21 18:43 Ivan Adzhubey
2007-10-21 21:22 ` Konstantin A. Lepikhov [this message]
2007-10-22 7:53 ` Michael Shigorin
2007-10-22 8:09 ` Alexander Volkov
2007-10-22 8:19 ` Michael Shigorin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071021212213.GC3947@lks.home \
--to=lakostis@unsafe.ru \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git