For some reason the core file is not complete even
though ulimit is set to unlimited
core file size (blocks, -c) unlimited
<----- Unlimitd
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 15891
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) 15891
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
But when core is generated, and I try to open
gdb, it is complaining that the core file is smaller
$sudo gdb /usr/local/sbin/kamailio core
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software: you are free to change and
redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /usr/local/sbin/kamailio...done.
BFD: Warning: /home/krishna/corefiles/core is truncated:
expected core file size >= 2164264960, found: 176357376.
[New LWP 2547]
Cannot access memory at address 0x7fe56e85d2a8
Cannot access memory at address 0x7fe56e85d2a0
What could be going wrong?
Thanks
Krish Kura