[opensuse] Opensuse 12.x and enabling core dump when segfault.
Good afternoon, I tried to win with enabling core dump, ulimit is unlimited: :~ # ulimit unlimited This is sysctl output: ~ # sysctl -a | grep kernel.core kernel.core_uses_pid = 1 kernel.core_pattern = /var/log/cores/%e/%p-%s-%t.core kernel.core_pipe_limit = 0 and kernel.suid_dumpable = 2 When I "kill -SEGV <pid>", there is no coredump What did I missed ? Thanks and best regards J.Karliak -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Karliak Josef wrote:
Good afternoon, I tried to win with enabling core dump, ulimit is unlimited: :~ # ulimit unlimited
This is sysctl output: ~ # sysctl -a | grep kernel.core kernel.core_uses_pid = 1 kernel.core_pattern = /var/log/cores/%e/%p-%s-%t.core kernel.core_pipe_limit = 0
and
kernel.suid_dumpable = 2
When I "kill -SEGV <pid>", there is no coredump What did I missed ?
ulimit -c -- Per Jessen, Zürich (13.5°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Grrr, damn me!!!! :) Thanks, core dumped after killing :) Best regards J.Karliak Per Jessen píše v Pá 03. 05. 2013 v 13:31 +0200:
Karliak Josef wrote:
Good afternoon, I tried to win with enabling core dump, ulimit is unlimited: :~ # ulimit unlimited
This is sysctl output: ~ # sysctl -a | grep kernel.core kernel.core_uses_pid = 1 kernel.core_pattern = /var/log/cores/%e/%p-%s-%t.core kernel.core_pipe_limit = 0
and
kernel.suid_dumpable = 2
When I "kill -SEGV <pid>", there is no coredump What did I missed ?
ulimit -c
-- Per Jessen, Zürich (13.5°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/03/2013 02:30 PM, Karliak Josef wrote:
Thanks, core dumped after killing :)
BTW: you can also dump core without having to kill the process: the gdb package comes with the gcore script which can do that for you: $ gcore $pid Have a nice day, Berny -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Bernhard Voelker
-
Karliak Josef
-
Per Jessen