Coredump is getting truncated
I am setting ulimit -c unlimited. And in c++ program we are doing struct rlimit corelimit; if (getrlimit(RLIMIT_CORE, &corelimit) != 0) { return -1; } corelimit.rlim_cur = RLIM_INFINITY; corelimit.rlim_max = RLIM_INFINITY; if (setrlimit(RLIMIT_CORE, &corelimit) != 0) { return -1; } but whenever program is getting crashed the core dump generated by it is getting truncated. BFD: Warning: /mnt/coredump/core.6685.1325912972 is truncated: expected core file size >= 1136525312, found: 638976. What can be the issue ? We are using Ubuntu 10.04.3 LTS Linux ip-<ip> 2.6.32-318-ec2 #38-Ubuntu SMP Thu Sep