본문 바로가기
3. 개발 관련/정리 :: issue 와 resovle

Core dump file enable via ulimit

by kyuho.choi 2014. 9. 25.
728x90
반응형

1) Current status check


root@ufs:~# 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) 61251

max locked memory       (kbytes, -l) 64

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) 8192

cpu time               (seconds, -t) unlimited

max user processes              (-u) 61251

virtual memory          (kbytes, -v) unlimited

file locks                      (-x) unlimited


2) Change Core file size

root@ufs:~# ulimit -c unlimited



3) Current status check again


root@ufs:~# ulimit -a

core file size          (blocks, -c) unlimited

data seg size           (kbytes, -d) unlimited

scheduling priority             (-e) 0

file size               (blocks, -f) unlimited

pending signals                 (-i) 61251

max locked memory       (kbytes, -l) 64

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) 8192

cpu time               (seconds, -t) unlimited

max user processes              (-u) 61251

virtual memory          (kbytes, -v) unlimited

file locks                      (-x) unlimited


728x90
반응형

댓글