이것이 우리의limits.conf입니다.
* soft nofile 999999
* hard nofile 999999
* soft noproc 256000
* hard noproc 256000
그런 다음 재부팅 후 변경 사항을 확인했지만 max_user_processes는 여전히 4096입니다. sysctl.conf에서 fs.file-max를 150000000으로 설정했습니다.
[root@smpp ~]# su development
[development@smpp ~]$ 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) 256772
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 999999
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 4096
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited