Bug 52467 - [pysaml2] Disable writeback for shelve to save memory
[pysaml2] Disable writeback for shelve to save memory
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.4-7-errata
Assigned To: Florian Best
Jürn Brodersen
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-12-08 00:58 CET by Florian Best
Modified: 2020-12-16 16:03 CET (History)
0 users

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Large environments, SAML, UCS Performance
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2020-12-08 00:58:53 CET
The writeback cache of pysaml2's identity cache can grow quite large and which consumes memory. With a small  change in the `set` function, the writeback cache is not needed.
Comment 1 Florian Best univentionstaff 2020-12-08 01:05:08 CET
Fixed in:

r19234 | Bug #52467: add 006-disable-writeback-for-shelve.quilt

python-pysaml2.yaml
bc7ca499aab2 | YAML Bug #52467
Comment 2 Jürn Brodersen univentionstaff 2020-12-10 10:31:12 CET
What I tested:
Upgrade -> OK
Login -> OK
Login SAML -> OK
users/user -> OK
portal login -> OK
portal edit -> OK
jenkins -> OK
Merge 5.0 -> OK
YAML -> OK