Title: os.cpu_count() should return a count assigned to a container or that the process is restricted to · Issue #80235 · python/cpython · GitHub
Open Graph Title: os.cpu_count() should return a count assigned to a container or that the process is restricted to · Issue #80235 · python/cpython
X Title: os.cpu_count() should return a count assigned to a container or that the process is restricted to · Issue #80235 · python/cpython
Description: BPO 36054 Nosy @vstinner, @giampaolo, @tiran, @jab, @methane, @matrixise, @corona10, @Zheaoli, @mcnelsonphd, @NargiT, @Redeyed Note: these values reflect the state of the issue at the time it was migrated and might not reflect the curren...
Open Graph Description: BPO 36054 Nosy @vstinner, @giampaolo, @tiran, @jab, @methane, @matrixise, @corona10, @Zheaoli, @mcnelsonphd, @NargiT, @Redeyed Note: these values reflect the state of the issue at the time it was m...
X Description: BPO 36054 Nosy @vstinner, @giampaolo, @tiran, @jab, @methane, @matrixise, @corona10, @Zheaoli, @mcnelsonphd, @NargiT, @Redeyed Note: these values reflect the state of the issue at the time it was m...
Opengraph URL: https://github.com/python/cpython/issues/80235
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"os.cpu_count() should return a count assigned to a container or that the process is restricted to","articleBody":"BPO | [36054](https://bugs.python.org/issue36054)\n--- | :---\nNosy | @vstinner, @giampaolo, @tiran, @jab, @methane, @matrixise, @corona10, @Zheaoli, @mcnelsonphd, @NargiT, @RedEyed\n\n\u003csup>*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup>\n\n\u003cdetails>\u003csummary>Show more details\u003c/summary>\u003cp>\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = None\ncreated_at = \u003cDate 2019-02-20.16:56:22.384>\nlabels = ['interpreter-core', '3.8', '3.7', 'library', 'performance']\ntitle = 'On Linux, os.count() should read cgroup cpu.shares and cpu.cfs (CPU count inside docker container)'\nupdated_at = \u003cDate 2021-10-11.14:25:34.762>\nuser = 'https://github.com/keirlawson'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2021-10-11.14:25:34.762>\nactor = 'corona10'\nassignee = 'none'\nclosed = False\nclosed_date = None\ncloser = None\ncomponents = ['Interpreter Core', 'Library (Lib)']\ncreation = \u003cDate 2019-02-20.16:56:22.384>\ncreator = 'keirlawson'\ndependencies = []\nfiles = []\nhgrepos = []\nissue_num = 36054\nkeywords = []\nmessage_count = 24.0\nmessages = ['336117', '336126', '336146', '336148', '336149', '338724', '338778', '338780', '338783', '339401', '339404', '339429', '339439', '353690', '364894', '364898', '364901', '364902', '364916', '365071', '365075', '366811', '403622', '403654']\nnosy_count = 12.0\nnosy_names = ['vstinner', 'giampaolo.rodola', 'christian.heimes', 'jab', 'methane', 'matrixise', 'corona10', 'Manjusaka', 'mcnelsonphd', 'galen', 'nargit', 'RedEyed']\npr_nums = []\npriority = 'normal'\nresolution = None\nstage = None\nstatus = 'open'\nsuperseder = None\ntype = 'performance'\nurl = 'https://bugs.python.org/issue36054'\nversions = ['Python 3.7', 'Python 3.8']\n```\n\n\u003c/p>\u003c/details>\n","author":{"url":null,"@type":"Person","name":"keirlawson"},"datePublished":"2019-02-20T16:56:22Z","url":"https://github.com/python/cpython/issues/80235"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:0b05cf3a-616a-b2d2-09fc-eae8b379dd44 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A2C:3F8AB1:5006ED8:65493D3:6B0253D5 |
| html-safe-nonce | 910e6ab5de1896d4e54d59cf6878f2859b28b2240550eb187da5a93f233b29e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTJDOjNGOEFCMTo1MDA2RUQ4OjY1NDkzRDM6NkIwMjUzRDUiLCJ2aXNpdG9yX2lkIjoiODM2NDkyOTgyMDMwMDYyNTQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b738e6c93dc3675294e76c9c7391cda54a0c83a0f07fe3a0393d034c2dec1d6a |
| hovercard-subject-tag | issue:1199006187 |
| 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/python/cpython/80235/issue_layout |
| twitter:image | https://opengraph.githubassets.com/18585d3467a173c641bcb236054524d02f42ffd59d046d4a764d6a106608f0fe/python/cpython/issues/80235 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/18585d3467a173c641bcb236054524d02f42ffd59d046d4a764d6a106608f0fe/python/cpython/issues/80235 |
| og:image:alt | BPO 36054 Nosy @vstinner, @giampaolo, @tiran, @jab, @methane, @matrixise, @corona10, @Zheaoli, @mcnelsonphd, @NargiT, @Redeyed Note: these values reflect the state of the issue at the time it was m... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | keirlawson |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width