From: Andy Gorev <gorev@mail333.com>
To: community@altlinux.ru
Subject: Re: [Comm] squid выражается в cache.log
Date: Thu, 04 Dec 2003 15:59:22 +0200
Message-ID: <3FCF3DBA.5040707@mail333.com> (raw)
In-Reply-To: <200312040923.27580.combr@vesna.ru>
Mike Lykov wrote:
> В сообщении от Среда 03 Декабрь 2003 18:06 crux написал:
>
>>Очевидно (имхо), обычная работа прокси по удалению излишних объектов..
>
>
> Как же она "обычная"? он должен успевать удалять обьекты таким образом, чтобы
> заполненность кеша была 95%. Почему она превысила 100% ?
> Кто напихал туда столько обьектов? ;)
>
>
>>>2003/12/03 12:04:06| WARNING! Your cache is running out of filedescriptors
>
>
>>Максимально количество файловых дескрипторов крутить через sysctl.
>>Посмотреть так: $ cat /proc/sys/fs/file-max
>>Изменить так: sysctl -w fs.file-max=4096 (увеличить в 4 раза, и
>>увеличивать далее при необходимости)
>
>
> Не все так просто.
> 1. в /proc/ стоит число, большее 50000 (точно не помню, вчера смотрел ;)
> 2. при компиляции squid макс. число фд задается, в сборке альта оно 1024
>
> Т.е. в fs-max число, заведомо большее, чем задано при компиляции, поэтому оно
> не влияет.
>
На эту тему давно висит бага
http://bugzilla.altlinux.ru/show_bug.cgi?id=2684
--
С Уважением,
Андрей Горев
next prev parent reply other threads:[~2003-12-04 13:59 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
2003-12-04 13:59 ` Andy Gorev [this message]
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=3FCF3DBA.5040707@mail333.com \
--to=gorev@mail333.com \
--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