ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] file descriptor limits
@ 2008-02-23 17:48 Serge
  2008-02-23 18:03 ` Michael Shigorin
  0 siblings, 1 reply; 4+ messages in thread
From: Serge @ 2008-02-23 17:48 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

Здравствуйте!

в логах squid наблюдаю такие сообщения:
2008/02/23 19:40:17| WARNING! Your cache is running out of filedescriptors
2008/02/23 19:40:33| WARNING! Your cache is running out of filedescriptors
2008/02/23 19:40:49| WARNING! Your cache is running out of filedescriptors
2008/02/23 19:41:05| WARNING! Your cache is running out of filedescriptors
2008/02/23 19:41:21| WARNING! Your cache is running out of filedescriptors

документация по squid говорит, что нужно изменить "file descriptor limits"

как правильно это сделать?
сейчас у меня:

ulimit -aS

core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
max nice                        (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 16382
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
max rt priority                 (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 512
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Sysadmins] file descriptor limits
  2008-02-23 17:48 [Sysadmins] file descriptor limits Serge
@ 2008-02-23 18:03 ` Michael Shigorin
  2008-02-23 18:18   ` Serge
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Shigorin @ 2008-02-23 18:03 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

On Sat, Feb 23, 2008 at 07:48:39PM +0200, Serge wrote:
> как правильно это сделать?

/etc/security/limits.conf (и стоит повесить FR на пакет,
дабы сам поднимал себе лимиты -- уже сделали
/etc/security/limits.conf.d/)

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Sysadmins] file descriptor limits
  2008-02-23 18:03 ` Michael Shigorin
@ 2008-02-23 18:18   ` Serge
  2008-02-23 18:23     ` Michael Shigorin
  0 siblings, 1 reply; 4+ messages in thread
From: Serge @ 2008-02-23 18:18 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

В сообщении от Saturday 23 February 2008 20:03:25 Michael Shigorin написал(а):
> /etc/security/limits.conf (и стоит повесить FR на пакет,
> дабы сам поднимал себе лимиты -- уже сделали
> /etc/security/limits.conf.d/)
Bug 14629

только я не совсем понял как практически, в моем случае, исправить ситуацию?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Sysadmins] file descriptor limits
  2008-02-23 18:18   ` Serge
@ 2008-02-23 18:23     ` Michael Shigorin
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Shigorin @ 2008-02-23 18:23 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

On Sat, Feb 23, 2008 at 08:18:40PM +0200, Serge wrote:
> только я не совсем понял как практически, в моем случае,
> исправить ситуацию?
> > /etc/security/limits.conf

Для пользователя squid подними лимит nofile и перезапусти его.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-02-23 18:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-23 17:48 [Sysadmins] file descriptor limits Serge
2008-02-23 18:03 ` Michael Shigorin
2008-02-23 18:18   ` Serge
2008-02-23 18:23     ` Michael Shigorin

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git