coredump - Linux unable to create core dump from application -
i have 2 servers running vendor application. on 1 server if app crashes creates core dump second not.
the servers supposed set same trying figure out why application doesn't create core dump. i've checked typical settings , have been doing research no luck.
the strange part if run kill -s sigsegv $$
app user, generates core dump in same directory app supposed create core dump. vendor , linux group both unsure @ moment why i'm looking here help.
$ cat /proc/sys/kernel/core_pattern core $ cat /proc/sys/kernal/core_uses_pid 1 $ ulimit -c unlimited $ cat /etc/security/limits.conf | grep core * soft core unlimited * hard core unlimited $ cat /etc/profile | grep ulimit ulimit -c unlimited > /dev/null 2>&1 $ cat /proc/sys/fs/suid_dumpable 0 $ cat /etc/sysconfig/init | grep core daemon_corefile_limit='unlimited'
there several other reasons why coredump not created. check list of possible reasons in core(5): http://linux.die.net/man/5/core
check dmesg output.
check specific process corefile size limit in /proc/pid/limits.
check if process user can create file of typical coredump size in /proc/pid/cwd directory.
specify absolute file path in /proc/sys/kernel/core_pattern, pointing known writable location.
create short program adhering coredump-accepting protocol, saving somewhere, , specify in /proc/sys/kernel/core_pattern, according core(5). coredumps piped programs not subject limits.
Comments
Post a Comment