Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions docs/platforms/python/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ If you need more fine-grained control over the behavior of the socket, check out
<PlatformLink to="/configuration/options/#socket-options">socket-options</PlatformLink>.
</Expandable>

<Expandable title="Multiprocessing deprecation after Python 3.12">
<Expandable title="Multiprocessing deprecation in Python 3.12 and 3.13">

If you're on Python version 3.12 or greater, you might see the following deprecation warning on Linux environments since the SDK spawns several threads.
If you're on Python version 3.12 or 3.13, you might see the following deprecation warning on Linux environments since the SDK spawns several threads.

```
DeprecationWarning: This process is multi-threaded, use of fork() may lead to deadlocks in the child.
Expand All @@ -157,10 +157,13 @@ import concurrent.futures
sentry_sdk.init()

if __name__ == "__main__":
multiprocessing.set_start_method("spawn")
multiprocessing.set_start_method("forkserver") # or "spawn"
pool = concurrent.futures.ProcessPoolExecutor()
pool.submit(sentry_sdk.capture_message, "world")
```

`fork` was the default start method on POSIX platforms on Python 3.13 and lower. In Python 3.14, the default start method on POSIX platforms was changed to `forkserver`. On Windows and macOS the default is `spawn`.

</Expandable>

<Expandable title="Why was my tag value truncated?">
Expand Down
Loading