Reliance Edge RED_ENFILE error #23
-
[Originally asked 2019-12-03] We are seeing a RED_ENFILE (file table overflow/red_errno = 23) error during operation. What does this mean? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Reliance Edge has a fixed number of preallocated inodes. (Much like many Unix-like file systems, such as ext2/3/4.) One inode is allocated for the root directory during format, and afterward each file or directory which is created will allocate an inode. The RED_ENFILE errno is returned when creating a new file or directory is not possible, because all the inodes have been allocated. You will want to look at how many files and directories you have created on the Reliance Edge file system, and check on how many inodes you configured the file system to have in redconf.c. More information about iNode count can be found in Chapter 12 ("Product Configuration) of the Reliance Edge Developer's Guide; Here is the section on the Inode Count: 12.3.8.7 Inode Count Where to find it: In the configuration utility, this setting is found under the Volumes tab in the spinbox labeled "Inode What it means: Every time a file or directory is created, one inode is consumed; when a file or directory is deleted, Guidance: The number of inodes will depend on how many files and directories will be created on the file system either |
Beta Was this translation helpful? Give feedback.
Reliance Edge has a fixed number of preallocated inodes. (Much like many Unix-like file systems, such as ext2/3/4.) One inode is allocated for the root directory during format, and afterward each file or directory which is created will allocate an inode. The RED_ENFILE errno is returned when creating a new file or directory is not possible, because all the inodes have been allocated.
You will want to look at how many files and directories you have created on the Reliance Edge file system, and check on how many inodes you configured the file system to have in redconf.c.
More information about iNode count can be found in Chapter 12 ("Product Configuration) of the Reliance Edge Developer's G…