ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] странности с /etc/security/limits.conf
@ 2005-04-19 15:10 Pavlov Konstantin
  2005-04-19 15:23 ` [Comm] " Michael Shigorin
  0 siblings, 1 reply; 2+ messages in thread
From: Pavlov Konstantin @ 2005-04-19 15:10 UTC (permalink / raw)
  To: community

[root@su security]# grep -v \# limits.conf  | grep -v ^$
*               soft    core    0
*               soft    nproc   128
*               hard    nproc   256
@root           soft    nproc   256
thresh		soft	nofile	8192

После логина пользователем thresh:

thresh@su ~ $ ulimit -n
1024

Меняем soft на hard - картина та же.

Если поставить и soft и hard одновременно, то достигаем таки 8192.

Это баг или фича, и если фича, то обьясните, почему так, плз? :)

система - sisyphus-current.


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

* [Comm] Re: странности с /etc/security/limits.conf
  2005-04-19 15:10 [Comm] странности с /etc/security/limits.conf Pavlov Konstantin
@ 2005-04-19 15:23 ` Michael Shigorin
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Shigorin @ 2005-04-19 15:23 UTC (permalink / raw)
  To: community

On Tue, Apr 19, 2005 at 07:10:20PM +0400, Pavlov Konstantin wrote:
> [root@su security]# grep -v \# limits.conf  | grep -v ^$
> *               soft    core    0
> *               soft    nproc   128
> *               hard    nproc   256
> @root           soft    nproc   256
> thresh		soft	nofile	8192
> После логина пользователем thresh:
> thresh@su ~ $ ulimit -n
> 1024
> Меняем soft на hard - картина та же.
> Если поставить и soft и hard одновременно, то достигаем таки 8192.
> Это баг или фича, и если фича, то обьясните, почему так, плз? :)

IMHO фича (с участием дефолтов).

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


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

end of thread, other threads:[~2005-04-19 15:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-19 15:10 [Comm] странности с /etc/security/limits.conf Pavlov Konstantin
2005-04-19 15:23 ` [Comm] " Michael Shigorin

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