似乎服务器限制在~32720个套接字……我已经尝试了每个已知的变量来提高这个限制.但服务器仍然限制在32720打开套接字,即使仍然有4Go的空闲内存和80%的空闲cpu …
这是配置
~# ulimit -a core file size (blocks,-c) 0 data seg size (kbytes,-d) unlimited scheduling priority (-e) 0 file size (blocks,-f) unlimited pending signals (-i) 63931 max locked memory (kbytes,-l) 64 max memory size (kbytes,-m) unlimited open files (-n) 798621 pipe size (512 bytes,-p) 8 POSIX message queues (bytes,-q) 819200 real-time priority (-r) 0 stack size (kbytes,-s) 2048 cpu time (seconds,-t) unlimited max user processes (-u) 63931 virtual memory (kbytes,-v) unlimited file locks (-x) unlimited net.netfilter.nf_conntrack_max = 999999 net.ipv4.netfilter.ip_conntrack_max = 999999 net.nf_conntrack_max = 999999
有什么想法吗 ?
(这个问题已经被问到堆栈溢出到目前为止没有运气)
解决方法
我发现什么是限制一切:
max_map_count
感谢所有回答的人!