我可以使用 ulimit 但我认为这只会影响我的 shell 会话。我希望增加所有进程的限制。这是在红帽上。
rhel limit resources ulimit
limit ×1
resources ×1
rhel ×1
ulimit ×1