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

Fix /proc/<pid>/smaps parsing && Avoid summing Pss_Dirty pages #11675

Conversation

todor-ivanov
Copy link
Contributor

@todor-ivanov todor-ivanov commented Jul 25, 2023

Fixes #11667

Status

ready

Description

The issue #11667 can be solved in 3 different ways. This is the first out of 3 suggested fixes.

  • The current one just fixes the parsing of /proc/<pid>/smaps file to avoid including Pss_Dirty memory pages in the calculation of Pss , which may wrongly increase the accounting of total PSS memory pages (which already includes Pss_Dirty)

Is it backward compatible (if not, which system it affects?)

YES

Related PRs

None

External dependencies / deployment changes

None

@todor-ivanov todor-ivanov requested a review from amaltaro July 25, 2023 17:20
@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: failed
    • 1 new failures
    • 2 changes in unstable tests
  • Python3 Pylint check: failed
    • 6 warnings and errors that must be fixed
    • 2 warnings
    • 27 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded
    • 2 comments to review

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/14372/artifact/artifacts/PullRequestReport.html

Copy link
Contributor

@amaltaro amaltaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that another alternative has been merged: #11676
I would suggest to close this PR out. @todor-ivanov if you agree, please go ahead.

@todor-ivanov
Copy link
Contributor Author

thanks @amaltaro
agreed

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

Successfully merging this pull request may close these issues.

read smaps_rollup instead of parsing smaps using "awk"
3 participants