From: "Peter V. Saveliev" <peet@infosite.ru>
To: mandrake-russian@altlinux.ru
Subject: [mdk-re] Re: [JT] squid
Date: Fri Oct 5 14:29:11 2001
Message-ID: <20011005142931.4f23ba5c.peet@infosite.ru> (raw)
In-Reply-To: <20011005140148.17a85dec.vserge@menatepspb.msk.ru>
Hello, "Volkov Serge" <vserge@menatepspb.msk.ru>!
On Fri, 5 Oct 2001 14:01:48 +0400 you wrote:
<skip>
> > Сквид стоит, пользуем активно. На ~10 юзеров кэш держится на ~4 Мб, логи -
> > до 100 Мб, но это уже дело вкуса. Оперативки на серве 64Мб, этого хватает
> > не только на сквид но и на кучу всякого - сквид там просто в качестве
> > приятного дополнения.
> >
> > Петр.
> А что скажите если предполагается пускать через севрер со сквидом
> порядка 500-1000 клиентов, активно прогуливающихся по rbc.ru и
> прочим динамическим сайтам???
> какая машинка может потребоваться ?
Все зависит от политики кэширования, но, IMHO, можно уложиться в ~1 Gb кэша и
64 Мб памяти. Но нужно будет сразу подумать о логах - при частом посещении
динамических сайтов придется их куда-то девать. Совсем все спускать в
/dev/null - не стоит, иногда логи сквида - серьезный аргумент супротив врага.
Но и пускать на самотек - они весь винт забьют за 1-2 дня.
Итого
- стоит обратить внимание на опции кэша в squid.conf - по нему
написан великолепный man.
- если в примитиве - то на крон можно повесить squid -k rotate,
это весьма облегчит жизнь.
А еще можно запретить кэшировать всякие cgi-bin, форумы и новости. По
умолчанию он чуть ли не все кэширует - убийство младенцев, а юзера звереют,
когда видят вчерашние новости, особенно если известно, что страничка
обновлена ;))
Петр.
next prev parent reply other threads:[~2001-10-05 14:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-04 20:08 [mdk-re] " Gosha
2001-10-04 20:46 ` Andrew Nazarkin
2001-10-05 12:02 ` Peter V. Saveliev
2001-10-05 14:03 ` Volkov Serge
2001-10-05 14:29 ` Peter V. Saveliev [this message]
2001-10-05 20:58 ` Yura Gusev
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=20011005142931.4f23ba5c.peet@infosite.ru \
--to=peet@infosite.ru \
--cc=mandrake-russian@altlinux.ru \
/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 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