You are not logged in.

#1 2016-01-23 17:53:19

hybrid
Member
Registered: 2007-02-05
Posts: 261

remove core dumps from disk

Hi,
after I turned on my computer today I saw that about 1gb of space on /var was gone. Checking for the last modified and biggest files revealed three coredumps in /var/lib/systemd/coredump (797mb, 190mb and 8mb).
Now I want to get rid of them. Usually I'd just delete them but since systemd wants the user to use tools for everything instead of simply getting things done manually and easily I was wondering how to get rid of these coredumps.
I didn't find an option to erase the files in coredumpctl and searching the web just reveals ppl being unhappy with coredumps being created (not my point here).
So how can I get rid of those three coredumps in /var/lib/systemd/coredump without having to fear to throw systemd off?

Offline

#2 2016-01-23 18:04:07

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: remove core dumps from disk

I disable it.

% grep -Ev '(^#|^$)' /etc/systemd/coredump.conf 
[Coredump]
Storage=none

...then manually delete them.

See:

man coredump.conf

Last edited by graysky (2016-01-23 18:05:08)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB