Skip to content

[BUG] Cura 5.7.0 OOMs shortly after container starts #8

Description

@nadiamoe

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

After starting the container, on both ghcr.io/linuxserver/cura:5.7.0-ls20 and ghcr.io/linuxserver/cura:5.7.0-ls19 the CuraEngine process starts allocating memory unbounded until it eventually gets OOMKilled by the kernel.
image

[761201.602155] Out of memory: Killed process 380256 (CuraEngine) total-vm:50362448kB, anon-rss:22355824kB, file-rss:512kB, shmem-rss:0kB, UID:911 pgtables:50408kB oom_score_adj:0
[761201.607097] warn_alloc: 244261 callbacks suppressed
[761201.607100] kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0
[761201.607106] CPU: 5 PID: 137 Comm: kswapd0 Tainted: P           OE      6.8.4-arch1-1 #1 7ea0d8fced45b5f098eb034690645970f116c34c

This did not happen with 5.6.0-ls18.

Expected Behavior

CuraEngine should not die.

Steps To Reproduce

  1. docker run --rm -i ghcr.io/linuxserver/cura:5.7.0-ls20
  2. Monitor dmesg (OOMKill does not show up in docker, as this is not the main process of the container)

Environment

- OS: Arch linux 6.8.4-arch1-1, 6.6.20-1-lts
- How docker service was installed: Distro package manager

CPU architecture

x86-64

Docker creation

`docker run --rm -i ghcr.io/linuxserver/cura:5.7.0-ls20`.

Noticed originally in Kubernetes, reproduced in Docker.

Container logs

14:45:06 ~ $> dr ghcr.io/linuxserver/cura:5.7.0-ls20
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    911
User GID:    911
───────────────────────────────────────

..............+...+...........+.........+.+......+..............+.......+.....+..........+..+.+.........+.....+......+.........+.+..+...+.......+..+.+......+.....+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+....+.........+........+.......+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+.+...............+........+...+.......+...............+......+..+.......+......+.....+.+...+.................+.+..+............+...+.+.........+.....................+.....+.......+.....+.......+......+..+...+.+........+...+...+.+...+..+.........+.+.........+..+...+......+.............+..+......+...+.........+.+..............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.....+.......+..+......+.+......+.....+...+..........+..+.......+..+...+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...........+...+......+.+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+.....+....+..+.......+............+.........+...........+....+......+...+..+.........+.+.........+..+...+.+.........+...............+.....+.+.....+.+.....+...+...................+...+..+.+..+.............+......+...+...+............+.....+.............+.....+...+.+......+........+.......+.................+.+..+.........+......+...+.+...+...............+.................+.+..+............+.+.....+..........+...+..+.............+...........+...+...+............+.......+...+.....+......+.........+.+..+...+.+...+........+....+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
[custom-init] No custom files found, skipping...
[ls.io-init] done.
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.2.0 - built Apr  6 2024 18:56:15
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

Obt-Message: Xinerama extension is not present on the server

(UltiMaker-Cura:292): dbind-WARNING **: 12:45:10.922: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
qt.qml.typeresolution.cycle: Cyclic dependency detected between "file:///opt/cura/share/cura/resources/qml/Actions.qml" and "file:///opt/cura/share/cura/resources/qml/Actions.qml"
^C^C^C^C

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions