V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
DearTanker
V2EX  ›  Linux

如何让 CentOS 7 文件句柄数量 open files 达到无限?

  •  
  •   DearTanker ·
    DearTanker · 2017-12-14 09:21:36 +08:00 · 3892 次点击
    这是一个创建于 2317 天前的主题,其中的信息可能已经有所发展或是发生改变。
    6 条回复    2018-01-02 14:43:59 +08:00
    churchmice
        1
    churchmice  
       2017-12-14 10:59:17 +08:00 via Android
    ulimit
    DearTanker
        2
    DearTanker  
    OP
       2017-12-14 14:58:16 +08:00
    @churchmice 好像改不了无限制。
    halfer53
        3
    halfer53  
       2017-12-14 21:56:26 +08:00
    最大 INT_MAX, 不可能增加到无限制
    raysonx
        4
    raysonx  
       2017-12-15 13:17:46 +08:00
    内存是有限的,CPU 字长也有限,这世界上就没有无限的事物。
    julyclyde
        5
    julyclyde  
       2017-12-16 10:17:59 +08:00
    @churchmice ulimit 通常是不正确的答案。虽然是那个东西,但不该这么用
    mlzboy
        6
    mlzboy  
       2018-01-02 14:43:59 +08:00
    @DearTanker 请教变相裁员的事情,能加 wechat 聊么 1036130199,求帮助
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   961 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 20:52 · PVG 04:52 · LAX 13:52 · JFK 16:52
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.