Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onlyoffice-ee container is going OOM on Draven (production) #90

Open
darnold-zalf opened this issue Dec 10, 2024 · 2 comments
Open

onlyoffice-ee container is going OOM on Draven (production) #90

darnold-zalf opened this issue Dec 10, 2024 · 2 comments
Assignees

Comments

@darnold-zalf
Copy link
Contributor

darnold-zalf commented Dec 10, 2024

Since switching to the Enterprise edition of OnlyOffice (+ 100 user license) unfortunately we seem to have hit a resource limitation in the container.

I tried bumping the memory request to 1Gb but it doesn't seem to be taking : 0e18c40

Discussed briefly with Carsten 11.12.2025 - there shouldn't be any resource constraints in the k8s cluster, unless it's a default. We seem to have plenty of spare capacity/resources in Draven. This is only happening in Draven, not fizz. So a bit more of a deep-dive will need to be done in January..

containerStatuses:
    - containerID: >-
        docker://4e2bc69e5cc9d421da9f32c15c3ff1266d599eeb299c487821b5b28380b32792
      image: 'sha256:1ebfd50a1dc8464747d16eea5b3735bc9f3cd6bfab586e63e4e96c2b1411b9fc'
      imageID: >-
        docker-pullable://onlyoffice/documentserver-ee@sha256:97475275c84857de7102058bde2acc0af8651e3cd0b137c766d5153ca193081e
      lastState:
        terminated:
          containerID: >-
            docker://3f15a10c6b8859d055ff50e41c364a748ca17f9a3443ecfb68747b85be3b9999
          exitCode: 0
          finishedAt: '2024-12-10T14:46:41Z'
          reason: OOMKilled
          startedAt: '2024-12-10T14:29:49Z'
@darnold-zalf darnold-zalf changed the title onlyoffice container is going OOM (apparently) onlyoffice-ee container is going OOM on Draven (production) Dec 12, 2024
@Zalfsten
Copy link
Contributor

Zalfsten commented Jan 8, 2025

Actually the memory resources for OnlyOffice where higher than 1GB. You've introduces the resources attribute a second time. Actually the vscode yaml linter points this out -- please check if it's working properly.

Meanwhile I've improved the resource management so fizz and draven will use different amounts of resources.

It's very strange that the OOMKiller has been triggered. I'm not sure if this happend because the kubernetes host was out of resources or if the resource limit (6GB) has been hit.
I suggest to retry.

@Zalfsten
Copy link
Contributor

Zalfsten commented Jan 8, 2025

The OOMKilled status in Kubernetes, flagged by exit code 137, signifies that the Linux Kernel has halted a container because it has surpassed its allocated memory limit.

(https://komodor.com/learn/how-to-fix-oomkilled-exit-code-137/)

So it seems we need to increase the memory limits above 6GB

@darnold-zalf darnold-zalf self-assigned this Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants