ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] Лимиты
Date: Mon, 27 Feb 2017 13:46:13 +0300
Message-ID: <20170227104613.GA8434@imap.altlinux.org> (raw)
In-Reply-To: <m360m4z9rf.fsf@thinkpad.evg-krsk.dyndns.org> <742b9741-2bb3-0dd4-80b3-baead16bd547@altlinux.com>

On Wed, Dec 28, 2016 at 11:06:53AM +0300, Anton Farygin wrote:
> > nbr@ занялся control-limits, выставляющий большие лимиты.

Пока суть да дело, у меня стартеркиты на носу -- сделал
pam-limits-desktop: http://webery.altlinux.org/task/178910

> > Вопрос, что будет по умолчанию.
> 4000 процессов на современных системах вполне приемлемо.
> Тоже постоянно влетаю в маленькие лимиты.

cat << EOF >> %buildroot%limitsdir/90-desktop.conf
# better defaults for desktop systems
*               soft    nproc   4096
*               hard    nproc   5120
*               soft    nofile  8192
*               hard    nofile  10240
EOF


On Wed, Dec 28, 2016 at 04:24:36PM +0700, Евгений Терешков wrote:
> Местами приходилось поднимать nofile до 4k/8k (soft/hard).
> Думаю, пора поднимать.

Учёл ещё http://forum.altlinux.org/index.php?topic=37107.0

-- 
 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info


  parent reply	other threads:[~2017-02-27 10:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-27 11:32 Andrey Cherepanov
2016-12-28  8:06 ` Anton Farygin
2016-12-28  9:24   ` Евгений Терешков
2016-12-28 10:30     ` Michael Shigorin
2017-02-27 10:46   ` Michael Shigorin [this message]
2017-03-14 16:46     ` Alexey Shabalin
2017-03-14 20:02       ` 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=20170227104613.GA8434@imap.altlinux.org \
    --to=mike@altlinux.org \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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