运维系列&Linux系列【仅供参考】:Ubuntu 16 永久修改ulimit中的max file open限制

Ubuntu 16 永久修改ulimit中的max file open限制

  • Ubuntu 16 永久修改ulimit中的max file open限制
    • 摘要
    • 正文




Ubuntu 16 永久修改ulimit中的max file open限制

摘要

本文介绍如何在Ubuntu 16系统中增加最大文件打开数限制,通过修改系统配置文件来实现对nginx等服务中worker_connections参数的有效提升。

正文

Ubuntu 16 – how to increase maximum file open limit ( ulimit -n )

以下内容为此网页搬运过来的
https://codingweb.lj.studio/ubuntu-16-increase-maximum-file-open-limit-ulimit-n/

If you are setting up nginx,chances are you will discover your worker_connections is at some low number, such as 1024.
You can’t increase this number unless you increase kernel l

你可能感兴趣的:(运维,运维,linux,ubuntu)