Fedora 12 gcc 4.4.1
我正在做一些编程,我的程序给了我一个堆栈转储。
但是,没有核心文件可供我检查。
所以我做了:
ulimit -c unlimited
并得到以下错误信息:
bash: ulimit: core file size: cannot modify limit: Operation not permitted
我还尝试将ulimit设置为50000,但仍然遇到相同的错误。
ulimit -a的结果:
$ 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) 12275
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) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 1024
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited