英語 での File descriptors の使用例とその 日本語 への翻訳
{-}
-
Colloquial
-
Ecclesiastic
-
Computer
-
Programming
File Descriptors Limit.
Duplicating File Descriptors.
Specifies the hard limit for the number of file descriptors.
It consumes four file descriptors per process.
Set the hard limit for the number of file descriptors:.
Too many file descriptors are in use by the process.
Nhfsstone uses many file descriptors.
If any file descriptors are inherited, close them.
It uses fewer file descriptors.
All open file descriptors in the calling process are closed.
Increase the allowed open file descriptors.
Open file descriptors for oldpath are also unaffected.
Set the soft limit for the number of file descriptors:.
The number of file descriptors required exceeds the hard limit.
Specifies the soft limit for the number of file descriptors.
Modes: caching open file descriptors or caching objects in heap storage.
Program would eventually run out of file descriptors.
One or both file descriptors are not valid, or do not have proper read-write mode.
Increase the allowed number of open file descriptors to 32k or 64k.
In some Python implementations, the following code(which is fine in CPython)will probably run out of file descriptors:.
These functions operate on the system file descriptors for terminal type devices.
Some generic ioctls are not implemented for all types of file descriptors.
Same file status flags(i.e., both file descriptors share the same file status flags).
The process has already reached its limit for open file descriptors.
Pipes and unix sockets provide file descriptors that are a communication channel to another process on the same machine.
The process has already reached its limit for open file descriptors.
Stops the Wrapper if the limits for the number of file descriptors are not properly configured.
If they are nestedtoo deeply the shell may run out of file descriptors.
As mentioned in Part 2,the select call is just one method of waiting on file descriptors.
Test cases are free to print whatever they want to their stdout(4)and stderr(4) file descriptors.