You are not logged in.

#1 2024-10-18 18:46:56

Jan073
Member
Registered: 2024-10-17
Posts: 4

[SOLVED] ''systemd-tmpfiles --clean'' does not remove my coredumps.

Hello,
I am a brand new Arch user. I do have some experience with other distro's though. I figured i'd try Arch and i absolutely love it so far, though i have a problem i cant find a solution to.
I want to delete my coredumps from /var/lib/systemd/coredump/ since i have about 2.5GB of them in there after tinkering around with my system for the past days.
I need that 2.5gb to have a comfortable amount of space on my / disk.
Does anyone know how to delete them?

Thank you!

Last edited by Jan073 (2024-10-19 11:53:43)

Offline

#2 2024-10-19 04:08:59

johnpiers
Member
From: Somerset West, Cape Town
Registered: 2012-07-22
Posts: 37

Re: [SOLVED] ''systemd-tmpfiles --clean'' does not remove my coredumps.

A nice easy way for maintenance/updating etc go here https://github.com/gavinlyonsrepo/cylon for cylon: a TUI(terminal user interface) which provides updates and maintains an Arch based linux distribution. This program provides numerous tools to Arch Linux users. Can also be found in the AUR at https://aur.archlinux.org/packages/cylon  Make sure to follow all the install instructions as well as all dependencies and programs within the cylon app it's all on the github page.

Offline

#3 2024-10-19 07:22:07

stanczew
Member
Registered: 2021-03-02
Posts: 91

Re: [SOLVED] ''systemd-tmpfiles --clean'' does not remove my coredumps.

Jan073 wrote:

Does anyone know how to delete them?

Why not

rm /var/lib/systemd/coredump/*

?


Edit:
You can also look into coredump.conf and configure it so that coredump files take limited amount of disk space:
https://man.archlinux.org/man/coredump.conf.5.en

Last edited by stanczew (2024-10-19 07:26:38)

Offline

#4 2024-10-19 11:46:01

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,981

Re: [SOLVED] ''systemd-tmpfiles --clean'' does not remove my coredumps.

coredump files are removed AFTER 3 days by default, see https://wiki.archlinux.org/title/Core_d … dump_files


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2024-10-19 11:47:50

Jan073
Member
Registered: 2024-10-17
Posts: 4

Re: [SOLVED] ''systemd-tmpfiles --clean'' does not remove my coredumps.

johnpiers wrote:

A nice easy way for maintenance/updating etc go here https://github.com/gavinlyonsrepo/cylon for cylon: a TUI(terminal user interface) which provides updates and maintains an Arch based linux distribution. This program provides numerous tools to Arch Linux users. Can also be found in the AUR at https://aur.archlinux.org/packages/cylon  Make sure to follow all the install instructions as well as all dependencies and programs within the cylon app it's all on the github page.

Thank you! This is awesome for maintaining my system! Was also able to remove coredumps with this.

Offline

#6 2024-10-19 11:49:26

Jan073
Member
Registered: 2024-10-17
Posts: 4

Re: [SOLVED] ''systemd-tmpfiles --clean'' does not remove my coredumps.

stanczew wrote:
Jan073 wrote:

Does anyone know how to delete them?

Why not

rm /var/lib/systemd/coredump/*

?


Edit:
You can also look into coredump.conf and configure it so that coredump files take limited amount of disk space:
https://man.archlinux.org/man/coredump.conf.5.en

This worked too, thanks!

Last edited by Jan073 (2024-10-19 11:49:44)

Offline

#7 2024-10-19 11:52:01

Jan073
Member
Registered: 2024-10-17
Posts: 4

Re: [SOLVED] ''systemd-tmpfiles --clean'' does not remove my coredumps.

Lone_Wolf wrote:

coredump files are removed AFTER 3 days by default, see https://wiki.archlinux.org/title/Core_d … dump_files

I know. Normally i wouldnt touch them at all.
But since im still setting stuff up, fiddling around, and by that, make mistakes my drive fills up fast with the coredumps. So now i can remove some to have breathing space again.

Offline

Board footer

Powered by FluxBB