ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: max <alt@zlt.ru>
To: community@altlinux.ru
Subject: [Comm] Re: 1c и samba
Date: Thu, 5 May 2005 17:50:20 +0600
Message-ID: <200505051750.20481.alt@zlt.ru> (raw)
In-Reply-To: <20050504192230.5fdd40b6.vikerness@mail.ru>

В сообщении от 4 Май 2005 21:22 Michael Isachenkov написал(a):
> > > Слышал, что линукс имеет ограничение на открытие большого кол-ва
> > > файлов. Это вроде просто правится, но где?
> >
> > /etc/security/limits.conf
> > ulimit -n число
> >
> > только что убедился, как это знатно глючит в Fedora Core
>
> Да, кстати о птицах. в ALT это тоже работает достаточно странно.
>
> ~ > cat /etc/security/limits.conf | grep nofile
> #        - nofile - max number of open files
> *               hard    nofile  10240
>
> при локальном логине
>
> ~ > ulimit -n
> 10240
>
> при логине по ssh
>
> ~ > ulimit -n
> 1024
>
> как бороться и где причина?

Да это ерундень какая-то!!!!

cat /etc/security/limits.conf | grep nofile
#        - nofile - max number of open files
*               hard    nofile  10000
*               soft    nofile  10000

ulimit -n
1024

На соседней машине (личном десктопе ) с теми же настройками
ulimit -n
10000

Что делать-то???
 Я же не могу каждый раз после запуска руками ulimit -n 10000 делать.
А скриптом в автозагрузку это не работает!


--
MaX

  parent reply	other threads:[~2005-05-05 11:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-04 14:32 [Comm] " max
2005-05-04 14:34 ` Michael Isachenkov
2005-05-04 15:22   ` Michael Isachenkov
2005-05-04 22:32     ` Vitaly Lipatov
2005-05-05 11:50     ` max [this message]
2005-05-05 12:33       ` [Comm] " iLL
2005-05-06  3:34         ` max
2005-05-06  3:46           ` Mike Lykov
2005-05-06  4:28             ` max
2005-05-06  5:53               ` Mike Lykov
2005-05-06  6:44               ` iLL
2005-05-10 14:49     ` [Comm] " Andrew Kornilov
2005-05-10 15:29       ` Eugene Ostapets

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=200505051750.20481.alt@zlt.ru \
    --to=alt@zlt.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