CoreDump

Creator
Created
Created
2019 Nov 5 3:14
Editor
Edited
Edited
2022 Jun 20 1:34
Refs
Refs

Method

check ulimit variables

 

Permenant setting after reboot

  1. edit profile
2. edit
limits.conf format is <domain> <type> <item> <value>
notion image
 
 
 
 

limits.conf

ulimit 설정과 core dump 파일명 변경
root@devlinux ~]# ulimit -acore file size (blocks, -c) 0data seg size (kbytes, -d) unlimitedscheduling priority (-e) 0file size (blocks, -f) unlimitedpending signals (-i) 98304max locked memory (kbytes, -l) 32max memory size (kbytes, -m) unlimitedopen files (-n) 1024pipe size (512 bytes, -p) 8POSIX message queues (bytes, -q) 819200real-time priority (-r) 0stack size (kbytes, -s) 10240cpu time (seconds, -t) unlimitedmax user processes (-u) 98304virtual memory (kbytes, -v) unlimitedfile locks (-x) unlimited 초기 설정에는 core file size가 0으로 설정이 되어있어, core file이 생성이 되지 않는다.따라서 core dump시 core file이 생성되게 하려면 다음과 같이 설정값을 수정해야 한다.
ulimit 설정과 core dump 파일명 변경

core pattern

How to permanently edit the core_pattern file?
Thanks for contributing an answer to Ask Ubuntu! Please be sure to answer the question. Provide details and share your research! Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. To learn more, see our tips on writing great answers.
How to permanently edit the core_pattern file?
 
 
 

Recommendations