1. /proc/sys/fs/inode-max

1.1. 分析

这个文件可能不存在,他表示的是内存管理的inode句柄数量的最大值。如果不存在也就意味着没有限制,如果存在的话,这个值建议是/proc/sys/fs/file-max的3-4倍,否则可能会导致inode不足。

1.2. 翻译

这个文件是内存管理的最大inode句柄数量。在一些系统中,这个文件可能不存在。这个值应该是file-max值的3-4倍。来自标准输入,标准输出和网络sockets连接也需要一个inode来处理他们。如果你经常的出现inodes不足,你应该增大这个值。


This file contains the maximum number of in-memory inodes. On some (2.4) systems, it may not be present. This value should be 3-4 times larger than the value in file-max, since stdin, stdout and network sockets also need an inode to handle them. When you regularly run out of inodes, you need to increase this value.

Copyright © 温玉 2021 | 浙ICP备2020032454号 all right reserved,powered by Gitbook该文件修订时间: 2023-06-19 08:59:50

results matching ""

    No results matching ""