#3776 Spurious check in the sssd nss memcache can cause the memory cache to be skipped
Closed: Fixed a year ago Opened a year ago by jhrozek.

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.


Metadata Update from @jhrozek:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1586127

a year ago

Metadata Update from @jhrozek:
- Issue tagged with: PR, bug

a year ago

Metadata Update from @jhrozek:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata