前端之家收集整理的这篇文章主要介绍了
linux中c“fopen”可以打开的最大文件数,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
您可以通过以下操作查看允许的最大打开
文件数(内核限制):
cat /proc/sys/fs/file-max
Quote from kernel docs:
The value in file-max denotes the maximum number of file- handles that the Linux kernel will allocate. When you get lots of error messages about running out of file handles,you might want to increase this limit.
原文链接:https://www.f2er.com/linux/394430.html