服务报错 too many open files,最直接相关的限制是?

Linux

  1. A.磁盘 inode 已用尽,无法再创建新文件
  2. B.物理内存不足,无法分配缓冲区
  3. C.ulimit -n(进程 fd 数上限)
  4. D.ulimit -s(线程栈大小上限)