1.vi /etc/sysctl.conf

net.ipv4.conf.lo.arp_ignore = 1
net.ipv4.conf.lo.arp_announce = 2
net.ipv4.conf.all.arp_ignore = 1
net.ipv4.conf.all.arp_announce = 2

2.vi /etc/security/limits.conf

* soft nofile 262144
* hard nofile 262144

 

3./etc/security/下一看。centos6多出来一个limits.d目录,下面有个文件: 90-nproc.config 

*          soft    nproc     1024
这里限制了1024呀,果断注释。

相关文章:

  • 2021-06-29
  • 2021-12-17
  • 2021-12-19
  • 2021-09-08
  • 2021-04-17
  • 2021-10-09
猜你喜欢
  • 2021-11-12
  • 2021-10-08
  • 2021-11-17
  • 2022-02-05
  • 2022-12-23
  • 2021-06-14
  • 2021-12-19
相关资源
相似解决方案