Open mazad01 opened 3 months ago
Thank you for reporting the issue.
While we are working on a fix. In the meantime, you can work around the issue by disabling fork support by setting the DD_DOGSTATSD_DISABLE_FORK_SUPPORT
environment variable before importing the datadog
package.
Thanks for your contribution!
This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community.
If you would like this issue to remain open:
Verify that you can still reproduce the issue in the latest version of this project.
Comment that the issue is still reproducible and include updated details requested in the issue template.
Not stale, still waiting for resolution. Thanks
What are the side effects of setting DD_DOGSTATSD_DISABLE_FORK_SUPPORT
?
Describe the bug Code is hanging on datadog's post_fork() function. Possibly https://github.com/DataDog/datadogpy/blob/master/datadog/dogstatsd/base.py#L976 ?
Expected behavior Dogstatsd lib references not deadlocking
Environment and Versions (please complete the following information): dogstatsd 0.49.1
Additional context From our developers: the parent code is trying to spawn subprocesses, but it ultimately hangs
i.e snip of the code:
Output of pyspy:
Output of strace