You are not logged in.
What's that option for?
I cannot find it by myself, sorry...
Last edited by kokoko3k (2015-01-22 15:27:50)
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
Offline
/etc/systemd/system.conf has a man page:
LogLevel=, LogTarget=, LogColor=, LogLocation=, DumpCore=yes, CrashShell=no, ShowStatus=yes,
CrashChVT=1, DefaultStandardOutput=journal, DefaultStandardError=inherit
Configures various parameters of basic manager operation. These options may be overridden by
the respective command line arguments. See systemd(1) for details about these command line
arguments.
but it doesn't say what does this option do.
Offline
/etc/systemd/system.conf has a man page:
man systemd-system.conf wrote:LogLevel=, LogTarget=, LogColor=, LogLocation=, DumpCore=yes, CrashShell=no, ShowStatus=yes,
CrashChVT=1, DefaultStandardOutput=journal, DefaultStandardError=inherit
Configures various parameters of basic manager operation. These options may be overridden by
the respective command line arguments. See systemd(1) for details about these command line
arguments.but it doesn't say what does this option do.
--dump-core
Dump core on crash. This switch has no effect when run as user instance.
![]()
Jin, Jîyan, Azadî
Offline
thanks
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
@Head_on_a_Stick
What does
#DumpCore=yesmean? Dump on crash or not? What's the default?
I guess 'yes' is the default, but I'd rather have explicit info about it. Easy to find complete info would be a plus :-)
Offline
https://wiki.archlinux.org/index.php/Core_dump
Last edited by cargoan (2015-01-23 18:28:34)
Offline
@Head_on_a_Stick
What does#DumpCore=yesmean? Dump on crash or not? What's the default?
I guess 'yes' is the default, but I'd rather have explicit info about it. Easy to find complete info would be a plus :-)
From @carogan's link:
systemd's default behavior is to generate core dumps for all processes in /var/lib/systemd/coredump.
However, that directory is empty on my system so it will not generate any core dumps.
Jin, Jîyan, Azadî
Offline
that directory is empty on my system so it will not generate any core dumps.
It's currently empty on my system, but the dumps are generated - I've just removed one.
@cargoan
I still think systemd needs either less options or better documentation ;P I'll clone myself and start writing some good man pages, BRB.
Offline
Maybe it means: dump systemd own core on systemd crash (?)
I'm not sure this thread has to be marked as solved...
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
Possibly disabled in limits.
If core file size (-c) is zero, dumps generation is disabled.
$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 30
file size (blocks, -f) unlimited
pending signals (-i) 10961
max locked memory (kbytes, -l) 40000
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) 65
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 10961
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimitedIt can be activated by assigning a size with ulimit -c coresize
(Sorry, translator used)
Offline
There are other settings that can affect it
$ grep Storage /etc/systemd/coredump.conf
Storage=noneOffline
From @carogan's link:
systemd's default behavior is to generate core dumps for all processes in /var/lib/systemd/coredump.
However, that directory is empty on my system so it will not generate any core dumps.
What I meant when I wrote that was, "...generate core dumps for all processes, and store them in /var/lib/systemd/coredump". If that directory is empty, it just means that no processes have crashed and generated a core dump yet. The files in that directory don't control the behavior of systemd-coredump in any way (although the absence of the directory itself might disable them, not sure). Sorry for the confusion.
See also: systemd-coredump(8), coredumpctl(1)
Offline