Title: Executing the CodeQL GitHub Action within a Docker container results in the detection of only a single CPU, due to the `/sys/fs/cgroup/cpuset.cpus` file being empty. · Issue #2139 · github/codeql-action · GitHub
Open Graph Title: Executing the CodeQL GitHub Action within a Docker container results in the detection of only a single CPU, due to the `/sys/fs/cgroup/cpuset.cpus` file being empty. · Issue #2139 · github/codeql-action
X Title: Executing the CodeQL GitHub Action within a Docker container results in the detection of only a single CPU, due to the `/sys/fs/cgroup/cpuset.cpus` file being empty. · Issue #2139 · github/codeql-action
Description: Hi, when using the github action in a container action with a docker image which has cgroup v2 it cannot be run multithreaded. Example output: While resolving threads, found a cgroup CPUs file with 32 CPUs in /sys/fs/cgroup/cpuset.cpus.e...
Open Graph Description: Hi, when using the github action in a container action with a docker image which has cgroup v2 it cannot be run multithreaded. Example output: While resolving threads, found a cgroup CPUs file with...
X Description: Hi, when using the github action in a container action with a docker image which has cgroup v2 it cannot be run multithreaded. Example output: While resolving threads, found a cgroup CPUs file with...
Opengraph URL: https://github.com/github/codeql-action/issues/2139
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Executing the CodeQL GitHub Action within a Docker container results in the detection of only a single CPU, due to the `/sys/fs/cgroup/cpuset.cpus` file being empty.","articleBody":"Hi, \r\n\r\nwhen using the github action in a container action with a docker image which has cgroup v2 it cannot be run multithreaded.\r\n\r\nExample output:\r\n```\r\nWhile resolving threads, found a cgroup CPUs file with 32 CPUs in /sys/fs/cgroup/cpuset.cpus.effective.\r\nWhile resolving threads, found a cgroup CPUs file with 1 CPUs in /sys/fs/cgroup/cpuset.cpus.\r\n```\r\n\r\nThis happens because at my docker image (ubuntu:22.04) the /sys/fs/cgroup/cpuset.cpus is **empty** which is legit:\r\nsee **https://www.kernel.org/doc/Documentation/admin-guide/cgroup-v2.rst**\r\n\u003e If \"cpuset.cpus\" is empty, the \"cpuset.cpus.effective\" file shows\r\n\tall the CPUs from the parent cgroup that can be available to\r\n\tbe used by this cgroup.\r\n\t\r\nNow this lead to a maximum number of 1 CPU.\r\nRelates to #2083 ","author":{"url":"https://github.com/thomas-koppera-keenfinity","@type":"Person","name":"thomas-koppera-keenfinity"},"datePublished":"2024-02-14T11:12:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/2139/codeql-action/issues/2139"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6674b526-77ef-eb24-5e98-e2ad23d0cebf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DDAC:1FC3E6:EF9DCD:150408B:696A28B6 |
| html-safe-nonce | bbed6c30c4b8995f2f2a77f813e93cb1a71c8e54891b968c81a71b55162ac6dd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREFDOjFGQzNFNjpFRjlEQ0Q6MTUwNDA4Qjo2OTZBMjhCNiIsInZpc2l0b3JfaWQiOiIzNjUzMTc3OTAyNDU5NjYwNDcwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 44364f6e0e22ff607fd6d06d1d9bc77e2f435996c84d1d5e392fde0fc0b13b19 |
| hovercard-subject-tag | issue:2134110033 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/codeql-action/2139/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a96fdd4a1f80b98fe19027fb7c5c143dedf6d331944d10b8f69de16c73def9f2/github/codeql-action/issues/2139 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a96fdd4a1f80b98fe19027fb7c5c143dedf6d331944d10b8f69de16c73def9f2/github/codeql-action/issues/2139 |
| og:image:alt | Hi, when using the github action in a container action with a docker image which has cgroup v2 it cannot be run multithreaded. Example output: While resolving threads, found a cgroup CPUs file with... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | thomas-koppera-keenfinity |
| hostname | github.com |
| expected-hostname | github.com |
| None | a1022f03e4f0d91ea173e4e5dac892c982e0588c62f1ce56121d755a320a3569 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/codeql-action git https://github.com/github/codeql-action.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 259445878 |
| octolytics-dimension-repository_nwo | github/codeql-action |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 259445878 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-action |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f472b8e6c7b3fdd5d0354972a3f4c516289bf0be |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width