경로 : /etc/security/limits.d/90-nproc.conf
해당 설정 값의 변경으로 계정에 max open files, max process 설정 값 변경 가능
예)
[계정] soft nofile 65536 <- open flies soft 한계치
[계정] hard nofile 65536 <- open flies hard 한계치
[계정] soft nproc 32768 <-
max user processes soft 한계치
[계정] hard nproc 32768 <-
max user processes hard 한계치
[root@sam /]# ulimit -Sa
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 528383
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
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) 528383
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
[root@sam /]# ulimit -Ha
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 528383
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) unlimited
cpu time (seconds, -t) unlimited
max user processes (-u) 528383
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
[root@prime_db network-scripts]#
도움이 되셨다면 공감과 댓글 부탁 드립니다. *^.^*
'Linux' 카테고리의 다른 글
[Linux] NIC Port 변경 (0) | 2014.09.25 |
---|---|
sas controller disk 교체 방법 (0) | 2014.09.15 |
vsftp 일반 계정 설정 (0) | 2014.04.17 |
Dell 서버 Array 체크 rpm (0) | 2014.04.08 |
[LINUX] hpacucli 온라인 raid 재구성 (0) | 2013.05.08 |