ubuntu 无法修改 limit 值,不允许的操作
  • /etc/sysctl.conf
  • /etc/security/limits.conf
  • /etc/pam.d/common-session
  • /etc/profile

执行 ulimit -n 4096
最好不要写到 /etc/profile , 不安全, 用的时候设置一下就行了.

ulimit_ubuntu   作者:NewSea   
  如无特别标记说明,均为NewSea原创,版权私有,翻载必纠。欢迎交流,转载,但要在页面明显位置给出原文连接。谢谢。