makeplane / makeplane/plane

[bug]: The worker component takes up too much memory on multi-core CPUs

Open
#6,671 1 comment 1 reaction 2 assignees View on GitHub

Nobody has claimed this yet.

⚡performance 🐛bug
Dominant language
TypeScript
Stars
59.6k
Forks
5.8k
Avg merge
1d 22h
Merged PRs (30d)
49

Description

Is there an existing issue for this?
  • I have searched the existing issues
Current behavior

Using a server with enough cores (e.g. 32 cores), start Plane using docker or Kubernetes, and observe the logs to see celery Killed, etc. This is due to the fact that celery uses the number of CPU cores as the number of threads by default, which leads to the memory usage exceeding the default memory limits

I hope it's possible to limit the number of threads by adding, for example, a parameter like "--concurrency=8".

Steps to reproduce

Using a server with enough cores (e.g. 32 cores), start Plane using docker or Kubernetes, then, boom!

Environment

Production

Browser

Google Chrome

Variant

Self-hosted

Version

v1.8.1 (helm)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.