ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Serge <skompan@kspu.kr.ua>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] file descriptor limits
Date: Sat, 23 Feb 2008 19:48:39 +0200
Message-ID: <200802231948.40058.skompan@kspu.kr.ua> (raw)

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

в логах 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

             reply	other threads:[~2008-02-23 17:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-23 17:48 Serge [this message]
2008-02-23 18:03 ` Michael Shigorin
2008-02-23 18:18   ` Serge
2008-02-23 18:23     ` Michael Shigorin

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=200802231948.40058.skompan@kspu.kr.ua \
    --to=skompan@kspu.kr.ua \
    --cc=sysadmins@lists.altlinux.org \
    /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 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