点击(此处)折叠或打开
[root@ClbMongo01 home]# cat /etc/security/limits.conf ...... * - nproc 102400 * - nofile 102400 ...... 保证打开连接数,不是瓶颈。点击(此处)折叠或打开
[root@ClbMongo01 home]# 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) 514844 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 102400 //打开文件大小为:102400 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes (-u) 102400 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited