I have observed that the SCM-Manager would slowdown while managing the API-KEY based requests with the SVN clients.
- SCM-Manager: v2.3.40
- SVN-KIT: Default
- LDAP Integrated: YES
- LDAP CLient version: v2.4.0
- API-KEY Created: YES
It would try to check the LDAP authentication eventhough API-KEY is supplied.
How to reproduce:
- Create a SVN repository using the SCM-Manager WEB-UI
- Enable required permissions on the WEB-UI
- Restore the old repository using
svnadmin load
- Check and fix the permission:
chown -R scm:scm <repo_path>
- Check the scm-logs and we can see flooding logs as shown below.
- The flooding logs will hinder the SCM-Manager performance drastically forcing to restart within an hour
Note: I have also verified the same on APache+SVN-DAV without any issues and this indicates that the issue is specific to SVN-KIT
LOGS:
./scm-manager-6.log:2022-06-02 01:07:29.718 [qtp1642534850-377051] [CAT7aNFAUxTu] DEBUG svnkit - svn: E140000: Can't read length line from file /svndata/repositories/BST7ZOlCuW/data/db/format
./scm-manager-6.log:2022-06-02 01:07:29.718 [qtp1642534850-382456] [7UT7aNFATxTr] DEBUG svnkit - svn: E140000: Can't read length line from file /svndata/repositories/BST7ZOlCuW/data/db/format
./scm-manager-6.log:2022-06-02 01:07:29.719 [qtp1642534850-373283] [DVT7aNFATxTt] DEBUG svnkit - svn: E140000: Can't read length line from file /svndata/repositories/BST7ZOlCuW/data/db/format
./scm-manager-6.log:2022-06-02 01:07:29.719 [qtp1642534850-366828] [EHT7aNFATxTs] DEBUG svnkit - svn: E140000: Can't read length line from file /svndata/repositories/BST7ZOlCuW/data/db/format
./scm-manager-6.log:2022-06-02 01:07:29.720 [qtp1642534850-377051] [CAT7aNFAUxTu] DEBUG svnkit - svn: E140000: Can't read length line from file /svndata/repositories/BST7ZOlCuW/data/db/format
./scm-manager-6.log:2022-06-02 01:07:29.720 [qtp1642534850-382456] [7UT7aNFATxTr] DEBUG svnkit - svn: E140000: Can't read length line from file /svndata/repositories/BST7ZOlCuW/data/db/format
./scm-manager-6.log:2022-06-02 01:07:29.724 [qtp1642534850-382885] [AaT7aNFAexTv] DEBUG svnkit - svn: E140000: Can't read length line from file /svndata/repositories/BST7ZOlCuW/data/db/format
./scm-manager-6.log:2022-06-02 01:07:29.725 [qtp1642534850-382885] [AaT7aNFAexTv] DEBUG svnkit - svn: E140000: Can't read length line from file /svndata/repositories/BST7ZOlCuW/data/db/format
./scm-manager-6.log:2022-06-02 01:07:29.729 [qtp1642534850-376965] [BXT7aNFAkxTw] DEBUG svnkit - svn: E140000: Can't read length line from file /svndata/repositories/BST7ZOlCuW/data/db/format