New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After a failed online import the next imports are very slow #4432
Milestone
Comments
mreynolds389
added a commit
to mreynolds389/389-ds-base
that referenced
this issue
Nov 12, 2020
Bug Description: When an online import fails the entry and DN caches are "reset", but we use the wrong "new maxsize" which was setting the entry cache maxsize to zero which killed the import performance. Fix Description: When resetting the caches use the previous cache maxsize. Relates: 389ds#4432 Reviewed by: firstyear & progier(Thanks!!)
mreynolds389
added a commit
that referenced
this issue
Nov 12, 2020
Bug Description: When an online import fails the entry and DN caches are "reset", but we use the wrong "new maxsize" which was setting the entry cache maxsize to zero which killed the import performance. Fix Description: When resetting the caches use the previous cache maxsize. Relates: #4432 Reviewed by: firstyear & progier(Thanks!!)
mreynolds389
added a commit
that referenced
this issue
Nov 12, 2020
Bug Description: When an online import fails the entry and DN caches are "reset", but we use the wrong "new maxsize" which was setting the entry cache maxsize to zero which killed the import performance. Fix Description: When resetting the caches use the previous cache maxsize. Relates: #4432 Reviewed by: firstyear & progier(Thanks!!)
mreynolds389
added a commit
that referenced
this issue
Nov 12, 2020
Bug Description: When an online import fails the entry and DN caches are "reset", but we use the wrong "new maxsize" which was setting the entry cache maxsize to zero which killed the import performance. Fix Description: When resetting the caches use the previous cache maxsize. Relates: #4432 Reviewed by: firstyear & progier(Thanks!!)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Description
If you attempt to do an online import and entert he wrong LDIF name that import will fail. When you try it again with the correct LDIF name the import becomes very slow.
Reproducible steps:
[1] Attempt an import with a typo in the LDIF file name so that the import fails:
[2] Fix the typo and do the import:
[02/Nov/2020:16:44:06.244158418 -0500] - INFO - import_monitor_threads - import userroot: Processed 58 entries -- average rate 2.9/sec, recent rate 2.9/sec, hit ratio 0%
[02/Nov/2020:16:44:26.281630749 -0500] - INFO - import_monitor_threads - import userroot: Processed 108 entries -- average rate 2.7/sec, recent rate 2.7/sec, hit ratio 100%
[02/Nov/2020:16:44:46.314696042 -0500] - INFO - import_monitor_threads - import userroot: Processed 158 entries -- average rate 2.6/sec, recent rate 2.5/sec, hit ratio 100%
...
[3] Restart the server, and try the import again:
[02/Nov/2020:16:51:19.259511417 -0500] - INFO - import_monitor_threads - import userroot: Processed 85095 entries -- average rate 4254.8/sec, recent rate 4254.7/sec, hit ratio 0%
[02/Nov/2020:16:51:39.516911186 -0500] - INFO - import_monitor_threads - import userroot: Processed 153041 entries -- average rate 3825.9/sec, recent rate 3825.9/sec, hit ratio 97%
[02/Nov/2020:16:51:59.708787576 -0500] - INFO - import_monitor_threads - import userroot: Processed 217130 entries -- average rate 3618.8/sec, recent rate 3300.9/sec, hit ratio 96%
The text was updated successfully, but these errors were encountered: