Title: Full support for `/proc/sys/kernel/pid_max` changing during a process changing at runtime · Issue #2 · DataDog/java-profiler · GitHub
Open Graph Title: Full support for `/proc/sys/kernel/pid_max` changing during a process changing at runtime · Issue #2 · DataDog/java-profiler
X Title: Full support for `/proc/sys/kernel/pid_max` changing during a process changing at runtime · Issue #2 · DataDog/java-profiler
Description: Currently the profiler assumes that the value stored at /proc/sys/kernel/pid_max does not increase at runtime. The value is used for sizing various internal data structures, for example: the number of perf event subscriptions (how many t...
Open Graph Description: Currently the profiler assumes that the value stored at /proc/sys/kernel/pid_max does not increase at runtime. The value is used for sizing various internal data structures, for example: the number...
X Description: Currently the profiler assumes that the value stored at /proc/sys/kernel/pid_max does not increase at runtime. The value is used for sizing various internal data structures, for example: the number...
Opengraph URL: https://github.com/DataDog/java-profiler/issues/2
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Full support for `/proc/sys/kernel/pid_max` changing during a process changing at runtime","articleBody":"Currently the profiler assumes that the value stored at `/proc/sys/kernel/pid_max` does not increase at runtime. The value is used for sizing various internal data structures, for example:\r\n* the number of perf event subscriptions (how many threads can be profiled) \r\n* the size of wallclock thread filter\r\n* the size of the trace context lookup\r\n\r\nIn some scenarios users may increase this value during a process's lifetime which violates this assumption. Currently there is a workaround to floor the value read from `/proc/sys/kernel/pid_max` at 131072, but profile sample labelling would be broken (but not crash) if this number of threads is ever exceeded.","author":{"url":"https://github.com/richardstartin","@type":"Person","name":"richardstartin"},"datePublished":"2023-07-19T14:34:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2/java-profiler/issues/2"}
| 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:6c54e062-0a7e-f839-cb8d-2f7df143f92a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E750:24E3F0:CF17AF:1193C26:6A4D58C9 |
| html-safe-nonce | 57ed9974900c4614ae396ed133e9804c06910e85d19b96666d5eb11d45f79923 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzUwOjI0RTNGMDpDRjE3QUY6MTE5M0MyNjo2QTRENThDOSIsInZpc2l0b3JfaWQiOiI0MjMwMDYyMjYzMTA3NDEwMTIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c61ff32043047548c6245b9ae9f7eb0da9a7925955a495f5c0c9a1f08d375420 |
| hovercard-subject-tag | issue:1812095439 |
| 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/DataDog/java-profiler/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/adea85d4b0c24a5a52de81eb40feeed5bbe6339dd0ba88c540ff3fb5a6057e8d/DataDog/java-profiler/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/adea85d4b0c24a5a52de81eb40feeed5bbe6339dd0ba88c540ff3fb5a6057e8d/DataDog/java-profiler/issues/2 |
| og:image:alt | Currently the profiler assumes that the value stored at /proc/sys/kernel/pid_max does not increase at runtime. The value is used for sizing various internal data structures, for example: the number... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | richardstartin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2a1443ff9733a3016431263ea73c93d8fe00c195eb4a7670ac30e7848f045441 |
| turbo-cache-control | no-preview |
| go-import | github.com/DataDog/java-profiler git https://github.com/DataDog/java-profiler.git |
| octolytics-dimension-user_id | 365230 |
| octolytics-dimension-user_login | DataDog |
| octolytics-dimension-repository_id | 585532470 |
| octolytics-dimension-repository_nwo | DataDog/java-profiler |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 585532470 |
| octolytics-dimension-repository_network_root_nwo | DataDog/java-profiler |
| 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 | f3bdd3157ea1f0fd738d408eceeead721acf1dc3 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width