Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Support for tracing forked processes #590

Open
chriscz opened this issue Oct 18, 2023 · 2 comments
Open

Question: Support for tracing forked processes #590

chriscz opened this issue Oct 18, 2023 · 2 comments

Comments

@chriscz
Copy link

chriscz commented Oct 18, 2023

In one of our applications we use the parallel gem with process forking to do some IO and computationally-heavy work during request processing. In short we fork off several processes and then spawn threads under those processes to do the work as efficiently as possible.

I've noticed when I inspect the mini-profiler window that it definitely does not register the queries done in these sub-processes.

Is there currently any support this? Am I maybe missing a configuration option?

I searched for similar issues with in:body,title,comments for processes forking , but didn't come up with any results.

@nate-at-gusto
Copy link
Contributor

Forking after boot is not supported currently.

@chriscz
Copy link
Author

chriscz commented May 1, 2024

Thanks @nate-at-gusto. Feel free to close or keep open if someone comes along with the same question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants