1. 修改

ulimit -a 查看 open files 表示单个用户能打开的最大句柄  如果开发的高并发当个进程打开的句柄需要很大。

修改/etc/security/limits.conf

里面有很详细的注释,比如

* soft nofile 32768

* hard nofile 32768

*代表对所有用户有效。

2. 重启电脑

3. ulimit -a 再次查看  open files 已经修改成功。

参考:

https://blog.csdn.net/libaineu2004/article/details/72822449

https://zhidao.baidu.com/question/2270976874150863028.html

最新文章

  1. VBA初试——合并
  2. cursor or set-based
  3. 浅谈Java 8的函数式编程
  4. hangfire+bootstrap ace 模板实现后台任务管理平台
  5. zjuoj 3602 Count the Trees
  6. MFC获取系统当前时间的几种方法
  7. [Js]缓冲运动
  8. 【转】Objective-C代码注释和文档输出的工具和方法
  9. css清除浮动的几种方法整理
  10. (转载)小课堂UI-Star Diamond Tutorial
  11. Python进阶之路---1.1python简介
  12. MSSQL、C# 、Winform、ASP.NET - 数据库备份与还原模块
  13. 减少HTTP请求之合并图片详解(大型网站优化技术)
  14. C语言两个libxml2库使用的问题
  15. HtmlTestRunner无法生成HTML报告问题
  16. linux_rsync定时备份
  17. python_code list_2
  18. C#解压文件,Excel操作
  19. Module(CP343-1)Advanced system error SDB generation Error in rule file or rule file not found
  20. python3 进行字符串、日期、时间、时间戳相关转换

热门文章

  1. thinkphp3关闭Runtime中的日志方法
  2. Codeforces_794
  3. POJ_1208_模拟
  4. BZOJ 1601 [Usaco2008 Oct]灌水 (建图+mst)
  5. UVA1623 Enter The Dragon (贪心)
  6. num07---工厂方法模式
  7. WampServer 更换 mysql
  8. STM32,ARM,Keil工具相关
  9. HSRP 详解
  10. Angular目录结构