[opensuse] How can I get unlimited core file size when booting openSUSE?
I am using openSUSE 13.2 x64. I want to change core file size to unlimited. I changed /etc/security/limits.conf. * soft core unlimited And reboot openSUSE, but I got that core file size is 0.
ulimit -c 0
I wrote "ulimit -c unlimited" in ~/.bashrc, so I got unlimited core file size.
ulimit -c unlimited
But I want to get unlimited core file size when booting openSUSE. (Especially, I want to debug daemons...) How can I get unlimited core file size when booting openSUSE? -- Mitsutoshi NAKANO <ItSANgo@gmail.com> <bkbin005@rinku.zaq.ne.jp> <https://twitter.com/ItSANgo> <http://d.hatena.ne.jp/Itisango/> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 01/07/2015 12:19 AM, Mitsutoshi NAKANO wrote:
I am using openSUSE 13.2 x64.
I want to change core file size to unlimited.
I changed /etc/security/limits.conf.
* soft core unlimited
And reboot openSUSE, but I got that core file size is 0.
ulimit -c 0
I wrote "ulimit -c unlimited" in ~/.bashrc, so I got unlimited core file size.
ulimit -c unlimited
But I want to get unlimited core file size when booting openSUSE.
(Especially, I want to debug daemons...)
How can I get unlimited core file size when booting openSUSE?
Systemd takes all cores from the daemons. You can set the default core size of daemos started by systemd in /etc/systemd/system.conf (Setting is DefaultLimitCORE)- see the manpage systemd-system.conf. To retreive the core files, use systemd-coredumpctl.
2015-01-07 9:16 GMT+09:00 Florian Gleixner <flo@redflo.de>:
On 01/07/2015 12:19 AM, Mitsutoshi NAKANO wrote:
How can I get unlimited core file size when booting openSUSE?
Systemd takes all cores from the daemons. You can set the default core size of daemos started by systemd in /etc/systemd/system.conf (Setting is DefaultLimitCORE)- see the manpage systemd-system.conf. To retreive the core files, use systemd-coredumpctl.
I wrote in /etc/systemd/system.conf: DefaultLimitCORE=infonity And reboot.
ulimit -c unlimited
Thank you!! -- Mitsutoshi NAKANO <ItSANgo@gmail.com> <bkbin005@rinku.zaq.ne.jp> <https://twitter.com/ItSANgo> <http://d.hatena.ne.jp/Itisango/> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am Mittwoch, 07. Januar 2015 01:30 CET, Mitsutoshi NAKANO <itsango@gmail.com> schrieb:
2015-01-07 9:16 GMT+09:00 Florian Gleixner <flo@redflo.de>:
On 01/07/2015 12:19 AM, Mitsutoshi NAKANO wrote:
How can I get unlimited core file size when booting openSUSE?
Systemd takes all cores from the daemons. You can set the default core size of daemos started by systemd in /etc/systemd/system.conf (Setting is DefaultLimitCORE)- see the manpage systemd-system.conf. To retreive the core files, use systemd-coredumpctl.
I wrote in /etc/systemd/system.conf:
DefaultLimitCORE=infonity
That was probably DefaultLimitCORE=infinity :-) Regards, -- Aaron "Optimizer" Digulla a.k.a. Philmann Dark "It's not the universe that's limited, it's our imagination. Follow me and I'll show you something beyond the limits." http://blog.pdark.de/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
2015-01-07 21:49 GMT+09:00 Aaron Digulla <digulla@hepe.com>:
Am Mittwoch, 07. Januar 2015 01:30 CET, Mitsutoshi NAKANO <itsango@gmail.com> schrieb:
2015-01-07 9:16 GMT+09:00 Florian Gleixner <flo@redflo.de>:
On 01/07/2015 12:19 AM, Mitsutoshi NAKANO wrote:
How can I get unlimited core file size when booting openSUSE?
Systemd takes all cores from the daemons. You can set the default core size of daemos started by systemd in /etc/systemd/system.conf (Setting is DefaultLimitCORE)- see the manpage systemd-system.conf. To retreive the core files, use systemd-coredumpctl.
I wrote in /etc/systemd/system.conf:
DefaultLimitCORE=infonity
That was probably
DefaultLimitCORE=infinity
:-)
Oops! I made a typo in the mail ;-) -- Mitsutoshi NAKANO <ItSANgo@gmail.com> <bkbin005@rinku.zaq.ne.jp> <https://twitter.com/ItSANgo> <http://d.hatena.ne.jp/Itisango/> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Aaron Digulla
-
Florian Gleixner
-
Mitsutoshi NAKANO