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

Don't dump cache pages in cores #130

Open
PerilousApricot opened this issue Oct 5, 2016 · 0 comments
Open

Don't dump cache pages in cores #130

PerilousApricot opened this issue Oct 5, 2016 · 0 comments

Comments

@PerilousApricot
Copy link
Member

Playing around with automagically collecting cores, if the process has a lot of cache, the dumps can be very large. We should instead do a madvise(MADV_DONTDUMP) on any cache allocations to keep the core size manageable. One hitch is that Centos6' kernel is too old to support it, so we'll need to wrap it in #if defines where CMake does a configuration-time test to see if MADV_DONTDUMP is declared

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

1 participant