From: Mike Lykov <combr@vesna.ru> To: community@altlinux.ru Subject: Re: [Comm] squid выражается в cache.log Date: Thu, 4 Dec 2003 09:23:27 +0400 Message-ID: <200312040923.27580.combr@vesna.ru> (raw) In-Reply-To: <3FCDEDF5.9010106@syktsu.ru> В сообщении от Среда 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 число, заведомо большее, чем задано при компиляции, поэтому оно не влияет. -- Mike
next prev parent reply other threads:[~2003-12-04 5:23 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 [this message] 2003-12-04 6:07 ` Shawkat Nizamov 2003-12-04 12:41 ` crux 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=200312040923.27580.combr@vesna.ru \ --to=combr@vesna.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