Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: add cgroup&mountinfo for docker env #383

Merged
merged 4 commits into from
Sep 30, 2024
Merged

fix: add cgroup&mountinfo for docker env #383

merged 4 commits into from
Sep 30, 2024

Conversation

johntaiko
Copy link
Contributor

@johntaiko johntaiko commented Sep 29, 2024

New added crates use the number of cores for thread pool, and needs to get the correct number from cgroup file

Add mount info for /proc/self/mountinfo and /proc/self/cgroup, and /sys/fs/cgroup/ to the allowed files in the sgx-guest.docker.manifest.template file. Also, increase the maximum threads to 512.
@johntaiko johntaiko added this pull request to the merge queue Sep 30, 2024
Merged via the queue into main with commit 7e61432 Sep 30, 2024
9 checks passed
@johntaiko johntaiko deleted the fix/num_cpus branch September 30, 2024 15:03
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants