Title: Introduce fork-safety fix to `SessionFlusher` and `BackgroundWorker` · Issue #6164 · getsentry/sentry-python · GitHub
Open Graph Title: Introduce fork-safety fix to `SessionFlusher` and `BackgroundWorker` · Issue #6164 · getsentry/sentry-python
X Title: Introduce fork-safety fix to `SessionFlusher` and `BackgroundWorker` · Issue #6164 · getsentry/sentry-python
Description: Related: #6149 #6148 There have been a couple of reported cases where a deadlock occurs when os.fork is used and the child process inherits an acquired lock that the parent process had set. There are other sites that have a similar code ...
Open Graph Description: Related: #6149 #6148 There have been a couple of reported cases where a deadlock occurs when os.fork is used and the child process inherits an acquired lock that the parent process had set. There a...
X Description: Related: #6149 #6148 There have been a couple of reported cases where a deadlock occurs when os.fork is used and the child process inherits an acquired lock that the parent process had set. There a...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/6164
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Introduce fork-safety fix to `SessionFlusher` and `BackgroundWorker`","articleBody":"Related:\n\n* getsentry/sentry-python#6149\n* getsentry/sentry-python#6148\n\nThere have been a couple of reported cases where a deadlock occurs when `os.fork` is used and the child process inherits an acquired lock that the parent process had set.\n\nThere are other sites that have a similar code pattern to the issues linked above within `SessionFlusher` and `BackgroundWorker` that will need to be updated to prevent this deadlock from happening.","author":{"url":"https://github.com/ericapisani","@type":"Person","name":"ericapisani"},"datePublished":"2026-04-28T17:18:30Z","url":"https://github.com/getsentry/sentry-python/issues/6164"}
| 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:6b4e7852-8680-4646-1933-f2babcb4ffad |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 844A:1DF1EC:4A6C31:63CD31:6B008DFE |
| html-safe-nonce | d5c6ca3cead60726d173f256cda05e94b16f7d3e0bd56bdd364eaf321e300dc9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDRBOjFERjFFQzo0QTZDMzE6NjNDRDMxOjZCMDA4REZFIiwidmlzaXRvcl9pZCI6Ijg4MjgyNzY5MTkwNTQxNDI5NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f42c0296b33534fae756812bb7c7434252020a8e0a57a8302bd090436bde24dc |
| hovercard-subject-tag | issue:4344995315 |
| 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/getsentry/sentry-python/6164/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a34f526ef3912d5860ba2f9491944aae632b63c2f4620b641bd31cad1da3e29d/getsentry/sentry-python/issues/6164 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a34f526ef3912d5860ba2f9491944aae632b63c2f4620b641bd31cad1da3e29d/getsentry/sentry-python/issues/6164 |
| og:image:alt | Related: #6149 #6148 There have been a couple of reported cases where a deadlock occurs when os.fork is used and the child process inherits an acquired lock that the parent process had set. There a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ericapisani |
| hostname | github.com |
| expected-hostname | github.com |
| None | c710a5cb5c47be60abfe6e8410436d409906979dbed614ef09f29c60f5535b08 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 137814779 |
| octolytics-dimension-repository_nwo | getsentry/sentry-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 137814779 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-python |
| 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 | be616a2a6ec1c609d6e002896dff5352d5c5f28b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width