Bug 15780 - Increasing slowness of sharesec performance with high number of registry shares
Summary: Increasing slowness of sharesec performance with high number of registry shares
Status: ASSIGNED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Other (show other bugs)
Version: 4.21.3
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Jule Anger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-09 19:43 UTC by Guenther Deschner
Modified: 2025-01-17 12:56 UTC (History)
1 user (show)

See Also:


Attachments
patch from master for v4-21-test (9.89 KB, patch)
2025-01-10 10:55 UTC, Guenther Deschner
anoopcs: review+
Details
patch from master for v4-20-test (9.89 KB, patch)
2025-01-10 10:56 UTC, Guenther Deschner
anoopcs: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guenther Deschner 2025-01-09 19:43:04 UTC
sharesec always unconditionally loads all registry shares causing major performance drop when used with thousands of shares.

Have patches, need bug :)
Comment 1 Samba QA Contact 2025-01-10 10:46:04 UTC
This bug was referenced in samba master:

0a12254ea8b3414deebc3e6329025052c650356e
04531e1b1d25d114c470922547bee769b07e5e60
2927dba0434b960e4c381329bdc9fe474fb930ce
78eb293e1cdd3635de0bcf46ffb9d842f27bcc9f
1410803713440caf29a40aec30516489d1944665
Comment 2 Guenther Deschner 2025-01-10 10:55:34 UTC
Created attachment 18528 [details]
patch from master for v4-21-test
Comment 3 Guenther Deschner 2025-01-10 10:56:29 UTC
Created attachment 18529 [details]
patch from master for v4-20-test
Comment 4 Anoop C S 2025-01-10 12:47:20 UTC
Re-assigning to Jule for inclusion in 4.21 and 4.20.
Comment 5 Jule Anger 2025-01-17 12:56:36 UTC
Pushed to autobuild-v4-{21,20}-test.