clearlinux / swupd-client

Software update client
Other
116 stars 62 forks source link

swupd getting an oom kill on larger updates #1627

Open 1490kdrm opened 4 months ago

1490kdrm commented 4 months ago

Describe the bug

Hello,

On two recent installs of Clear I've been having the swupd process be killed in the terminal, and majority of the time I'll get a hang if I try to jam the process through again directly after. It'll seemingly download all of the bundles, extract, and then get killed at install, which I find odd. When attempting to install 1-2 bundles at a time it normally is not an issue. Note that this is not an imdepotent issue and really only happens roughly 6-7 times out of ten. I've not observed it happening with specific bundles as it seems random. The system will usually not be running anything outside of the swupd process and desktop (and the litany of accompanying processes within kde and gnome desktop environments) in userspace outside of maybe suricata and NetworkManager.

Having 32GB of RAM I'm unsure why it's wanting kill the process or why it's hanging after I try to run it after it gets killed. Let me know what you'd need from me.

To Reproduce Run swupd bundle-add with < 7-8 bundles

Expected behavior That swupd cleanly executes the bundle-install command by downloading, extracting and installing the said bundles and then reloading the system as normal.

Environment (please complete the following information):

1490kdrm commented 4 months ago

swupd_taint.txt

Interestingly enough it's actually showing as a kernel taint for swupd, with a kernel NULL pointer dereference for it and mdadm...

output of dmesg attached.