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

Profiler enabled while application profiler is not #333

Open
come-nc opened this issue Jul 8, 2024 · 4 comments
Open

Profiler enabled while application profiler is not #333

come-nc opened this issue Jul 8, 2024 · 4 comments

Comments

@come-nc
Copy link
Contributor

come-nc commented Jul 8, 2024

The default configuration enables the profiler, even if the profiler application is not there.
Because of that, sync jobs for LDAP users are running out of memory, because the profile data fills it up. I chased a memory leak before finding out this was simply profiling data, as I was not aware the profiler was enabled.

WDYT @juliushaertl ?

@juliushaertl
Copy link
Owner

Fine to turn it off, though maybe we can also harden the server code a bit in that regard. We could also consider dropping some profiling data instead if it takes up some large percentage of the memory limit

@come-nc
Copy link
Contributor Author

come-nc commented Jul 9, 2024

I’m wondering the same thing, should the server check somehow that the app is enabled?

@come-nc
Copy link
Contributor Author

come-nc commented Jul 11, 2024

I know what it does, I was wondering what it should do. I think the reasonning is that other applications could use data from the profiler so it’s too restrictive to only enable it if the app is enabled. But in practice it meanns people may have the profiler enabled and eating resources without knowing it.

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