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

Spurious check in the sssd nss memcache can cause the memory cache to be skipped #4782

Closed
sssd-bot opened this issue May 2, 2020 · 0 comments
Labels
Bugzilla Closed: Fixed Issue was closed as fixed.

Comments

@sssd-bot
Copy link

sssd-bot commented May 2, 2020

Cloned from Pagure issue: https://pagure.io/SSSD/sssd/issue/3776


Ticket was cloned from Red Hat Bugzilla: Bug 1586127

Please note that this Bug is private and may not be accessible as it contains confidential Red Hat customer information.

Ticket was cloned from Red Hat Bugzilla: Bug 1586127

Please note that this Bug is private and may not be accessible as it contains confidential Red Hat customer information.

There is a check in the memory cache code that checks if a record pointer points to the mmapped region . But since some time ago, we return not a pointer to the mmapped region itself, but a copy to avoid issues with invalidating an entry while the same entry is being returned.

In most cases, the check is correct, simply because of how memory is laid out on Linux, but in some cases the check was failing and causing a high load of SSSD.

Comments


Comment from jhrozek at 2018-07-20 12:03:33

Metadata Update from @jhrozek:


Comment from jhrozek at 2018-07-20 17:33:55

PR: #622


Comment from jhrozek at 2018-07-20 17:33:56

Metadata Update from @jhrozek:

  • Issue tagged with: PR, bug

Comment from jhrozek at 2018-07-30 22:18:16


Comment from jhrozek at 2018-08-02 12:53:13

Metadata Update from @jhrozek:

  • Issue close_status updated to: Fixed
  • Issue status updated to: Closed (was: Open)
@sssd-bot sssd-bot added Bugzilla Closed: Fixed Issue was closed as fixed. labels May 2, 2020
@sssd-bot sssd-bot closed this as completed May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugzilla Closed: Fixed Issue was closed as fixed.
Projects
None yet
Development

No branches or pull requests

1 participant