You are not logged in.

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

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,408

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 ?


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

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

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

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
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,408

Re: coredump logging slows building packaging down a lot

Thanks for the reply, I'll consider it.


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

Board footer

Powered by FluxBB