From: crux <crux@syktsu.ru>
To: community@altlinux.ru
Subject: Re: [Comm] squid выражается в cache.log
Date: Thu, 04 Dec 2003 15:41:50 +0300
Message-ID: <3FCF2B8E.3060103@syktsu.ru> (raw)
In-Reply-To: <200312040923.27580.combr@vesna.ru>
Mike Lykov пишет:
>>Максимально количество файловых дескрипторов крутить через sysctl.
>>Посмотреть так: $ cat /proc/sys/fs/file-max
>>Изменить так: sysctl -w fs.file-max=4096 (увеличить в 4 раза, и
>>увеличивать далее при необходимости)
>>
>>
>
>Не все так просто.
>1. в /proc/ стоит число, большее 50000 (точно не помню, вчера смотрел ;)
>2. при компиляции squid макс. число фд задается, в сборке альта оно 1024
>
>Т.е. в fs-max число, заведомо большее, чем задано при компиляции, поэтому оно
>не влияет.
>
>
>
В конфе сквида по этому поводу предлагают крутить следующие параметры:
read_timeout, request_timeout, persistent_request_timeout, quick_abort.
Попробуйте выставить значения по меньше (особенно для read_timeout),
значения которые выставлены по умолчанию мне показались подходят только
для ситуации, когда на дохлом 33k модеме сидят пару сотен пользователей...
--
crux
next prev parent reply other threads:[~2003-12-04 12:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-03 13:33 Mike Lykov
2003-12-03 14:06 ` crux
2003-12-04 5:23 ` Mike Lykov
2003-12-04 6:07 ` Shawkat Nizamov
2003-12-04 12:41 ` crux [this message]
2003-12-04 13:59 ` Andy Gorev
2003-12-04 14:20 ` Mike Lykov
2003-12-05 8:03 ` Andy Gorev
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=3FCF2B8E.3060103@syktsu.ru \
--to=crux@syktsu.ru \
--cc=community@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