← 返回首页
Revert "move cgroup pool creation logic to init (#412)" by m0mosenpai · Pull Request #446 · open-lambda/open-lambda · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Revert "move cgroup pool creation logic to init (#412)"#446

Open
m0mosenpai wants to merge 1 commit into
open-lambda:mainfrom
m0mosenpai:revert-cgroup-root-init
Open

Revert "move cgroup pool creation logic to init (#412)"#446
m0mosenpai wants to merge 1 commit into
open-lambda:mainfrom
m0mosenpai:revert-cgroup-root-init

Conversation

Copy link
Copy Markdown
Contributor

This reverts commit a268288.

cgroups need to be managed by the worker itself - worker is unable to add its own PID into the child cgroup due to a violation of the cgroupv2 common ancestor rule. Workaround will be as follows:

  • The worker will manage its own cgroups like before.
  • We will use systemd to get a user delegated space for creating/managing cgroups by default, with the option of configuring a custom pool path (user will be responsible for making sure the custom path meets all the requirements for the worker to function)

This reverts commit a268288. cgroups need to be managed by the worker itself
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Footer

© 2026 GitHub, Inc.