I'm running Manjaro KDE and the /var/lib/systemd/coredump/ folder is around 500MB. What is it there for, and is it safe to delete it? sudo systemctl status shows running and no failed units.
Asked
Active
Viewed 8,781 times
9
Stephen Kitt
- 411,918
- 54
- 1,065
- 1,164
Erik
- 972
- 9
- 17
1 Answers
10
/var/lib/systemd/coredump is where systemd-coredump stores core dumps. You can list them with coredumpctl.
If you don’t plan on investigating your core dumps any further, you can delete the contents of the directory.
filbranden
- 21,113
- 3
- 58
- 84
Stephen Kitt
- 411,918
- 54
- 1,065
- 1,164
-
Oh, okay. I had some coredump entries in `systemctl status` but I was able to resolve them without looking at the logs. – Erik Jul 21 '19 at 20:22
-
You can't delete those core files. They are owned by root. – Bulletmagnet Jul 15 '22 at 16:03
-
@Bulletmagnet given the context of the question I think it’s a fair assumption that the user could become root if necessary. – Stephen Kitt Jul 15 '22 at 16:46
-
deleting is temporary fix. I keep getting huge chromium coredumps when chromium crashes. If you are not doing dev work where you need coredumps then disable them with these instructions. https://www.cyberciti.biz/faq/disable-core-dumps-in-linux-with-systemd-sysctl/ – DKebler Mar 21 '23 at 16:29
-
@DKebler or you can configure `systemd-coredump`, see https://www.freedesktop.org/software/systemd/man/systemd-coredump.html#Disabling%20coredump%20processing – Stephen Kitt Mar 21 '23 at 16:37