You are not logged in.

#1 2020-06-26 15:12:03

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,272

coredump logging slows building packaging down a lot

Some of the packages I build generate lots of coredumps during build.
The coredumps don't affect build success/failure, but do slow down things a lot.

I often execute ulimit c 0 before building so no coredump logs are created but do tend to forget it.
Disabling coredump logging permanently feels a bit risky to me as those logs could have important information for troubleshooting hardware problems when they occur.

What would be a clean methoid to disable coredump logging for makepkg / clean chroot builds but not for other processes ?


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#2 2020-06-26 16:06:20

Awebb
Member
Registered: 2010-05-06
Posts: 5,516

Re: coredump logging slows building packaging down a lot

The local wiki entry for coredump has a sysctl solution. I don't know much about your relationship with systemd, but it looks like one can turn coredumps off and on on the fly. That wouldn't cover all edge cases, but might be good enough.

Offline

#3 2020-07-03 13:42:51

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,272

Re: coredump logging slows building packaging down a lot

Thanks for the reply, I'll consider it.


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

Board footer

Powered by FluxBB