ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: crux <crux@syktsu.ru>
To: community@altlinux.ru
Subject: Re: [Comm] squid выражается в cache.log
Date: Wed, 03 Dec 2003 17:06:45 +0300
Message-ID: <3FCDEDF5.9010106@syktsu.ru> (raw)
In-Reply-To: <200312031733.13293.combr@vesna.ru>

Mike Lykov пишет:

>2003/12/03 12:06:31|   store_swap_size = 2171312k                               
>
>Что это значит? откуда это накопилось?
>
>2003/12/03 12:06:31| WARNING: Disk space over limit: 2170636 KB > 2097152 KB    
>2003/12/03 12:06:31| storeLateRelease: released 3 objects                       
>2003/12/03 12:06:42| WARNING: Disk space over limit: 2164412 KB > 2097152 KB    
>....
>после чего успокоился (видимо, все лишнее поудалял).
>Откуда взялись эти обьекты, которые овер лимит?
>у меня все время в конфиге одно и то же:
>cache_dir diskd /var/spool/squid 2048 16 256  
>
>  
>
Очевидно (имхо), обычная работа прокси по удалению излишних объектов..

>и еще:
>периодически возникает такое:
>
>2003/12/03 12:04:06| WARNING! Your cache is running out of filedescriptors
>
>Тоже сразу после перезапуска возникло
>всего дескрипторов 1024 (как я понимаю, это задается при сборке)
>  
>
Максимально количество файловых дескрипторов крутить через sysctl.
Посмотреть так: $ cat /proc/sys/fs/file-max
Изменить так: sysctl -w fs.file-max=4096  (увеличить в 4 раза, и 
увеличивать далее при необходимости)

-- 
crux




  reply	other threads:[~2003-12-03 14:06 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 [this message]
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
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=3FCDEDF5.9010106@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