728x90
반응형
core file size가 0이면 생성되지 않는다.
[assassin@localhost assassin]$ ulimit -a
core file size (blocks) 0
data seg size (kbytes) unlimited
file size (blocks) unlimited
max locked memory (kbytes) unlimited
max memory size (kbytes) unlimited
open files 1024
pipe size (512 bytes) 8
stack size (kbytes) 8192
cpu time (seconds) unlimited
max user processes 2048
virtual memory (kbytes) unlimited
그러므로
[assassin@localhost assassin]$ ulimit -c unlimited
[assassin@localhost assassin]$ ulimit -a
core file size (blocks) 1000000
data seg size (kbytes) unlimited
file size (blocks) unlimited
max locked memory (kbytes) unlimited
max memory size (kbytes) unlimited
open files 1024
pipe size (512 bytes) 8
stack size (kbytes) 8192
cpu time (seconds) unlimited
max user processes 2048
virtual memory (kbytes) unlimited
간단 해결.
728x90
반응형
'Tips & theory' 카테고리의 다른 글
Continuous free bug (double free bug) (0) | 2022.10.06 |
---|---|
source code site (0) | 2022.09.19 |
House of force (0) | 2022.09.14 |
linux에서 docker 기본 사용법 (0) | 2022.09.13 |
assembly code 기초 (0) | 2022.09.08 |