From: unix9 <unix9@yandex.ru>
To: hihin@rambler.ru, community@lists.altlinux.org
Subject: Re: [Comm] макс. кол-во открытых файлов и файловых дескрипторов. вопрос. часть 2
Date: Tue, 08 Jan 2008 11:31:38 +0300
Message-ID: <3767511199781098@webmail9.yandex.ru> (raw)
In-Reply-To: 9020000000048322949
ОК, тогда
/proc/sys/fs/file-max
Здесь указывается максимальное количество открытых файлов, макс. кол-во файловых дескрипторов где тогда задается?
08.01.08, 11:21, Хихин Руслан (hihin@rambler.ru):
> Здравствуйте unix9
> В сообщении от Вторник 08 января 2008 unix9 написал(a):
> > Приветствую всех!
> >
> > Подскажите, макс. кол-во открытых файлов и файловых дескрипторов это
> > одно и тоже или нет?
> Файловый дескриптор (описание файла) может быть связан не только с
> обычным файлом, но и с сокетом, каналом, устройством и.п., но
> поскольку в *nix это тоже файлы, то получается, что одно и то-же.
> С другой стороны файл можно открыть не создавая файловый дескриптор.
> Сравните man open - c файловым дескриптором и man fopen - c файловым
> указателем.
> В общем-то из контекста речи это может быть и одно и то-же, и разное
next prev parent reply other threads:[~2008-01-08 8:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-08 8:12 [Comm] макс. кол-во открытых файлов и файловых дескрипторов. вопрос unix9
2008-01-08 8:21 ` Хихин Руслан
2008-01-08 15:54 ` spider
2008-01-08 17:08 ` Хихин Руслан
2008-01-08 8:31 ` unix9 [this message]
2008-01-08 8:50 ` [Comm] макс. кол-во открытых файлов и файловых дескрипторов. вопрос. часть 2 Хихин Руслан
2008-01-08 17:56 ` [Comm] макс. кол-во открытых файлов и файловых дескрипторов. вопрос Dmitry V. Levin
2008-01-09 7:54 ` unix9
2008-01-09 14:45 ` Dmitry V. Levin
2008-01-09 17:43 ` unix9
2008-01-09 22:15 ` Dmitry V. Levin
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=3767511199781098@webmail9.yandex.ru \
--to=unix9@yandex.ru \
--cc=community@lists.altlinux.org \
--cc=hihin@rambler.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