Bug 2097811
Summary: | certmonger startup very slow using default NSS sqlite database backend [rhel-7.9.z] | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Bob Relyea <rrelyea> |
Component: | nss-softokn | Assignee: | Bob Relyea <rrelyea> |
Status: | CLOSED ERRATA | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 7.9 | CC: | kpfleming, kranz, rcritten, rrelyea, ssorce |
Target Milestone: | rc | Keywords: | Triaged, ZStream |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
When upgrading dbm databases with lots of Certificates with private keys, the resulting sqlite database becomes extremely slow to access. This is because the sqlite db will contain extra Trust objects for these certs that are unneccessary.
Consequence:
Accessing the resulting sqlite database becomes extremely slow
Fix:
1) this patch speeds up accessing trust objects that don't affect the actual trust values.
2) fixes dbm so that it no longer creates the extra trust objects for certs that have private keys.
Result:
Access to these sqlite databases are now faster. Customers can get faster still results by reupdating the databases from the original dbm after the patch has been applied.f this bug requires documentation, please select an appropriate Doc Type value.
|
Story Points: | --- |
Clone Of: | 2084334 | Environment: | |
Last Closed: | 2022-09-26 15:18:33 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2084334, 2097816 | ||
Bug Blocks: |
Description
Bob Relyea
2022-06-16 15:36:24 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (nss, nss-softokn, nss-util, and nspr bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:6712 |