-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
LDAP Auto Logout runs at high CPU load forever #32457
Comments
After additional testing with 12 required attributes per account, the problem remains; FYI: @pierre-lehnen-rc |
Seeing this also. Disabled this option for now |
Can confirm this. |
Today I updated from 6.5 to 6.9.2. Since then I have had high CPU load and endless LDAP syncs in the DEBUG log. After deactivating §Auto Logout Deactivated Users" everything was fine again. The "Sync User Avatar" is also on and does not cause any load |
Description:
Running LDAP Premium feature
Enable Auto Logout
causes indefinite 60 - 85 % CPU load.This issue is a stub where I'll add anything I can find about it. It may be that the cause is simply badly refined LDAP attributes, as the defaults for advanced sync are
*,+
meaning it combs through everything for every account.Steps to reproduce:
Admin -> Settings -> LDAP -> Premium -> Auto Logout Deactivated Users -> Enable Auto Logout
.Expected behavior:
Auto logout triggers once. After the state of all users have been combed through excess CPU load should end until the next interval.
Actual behavior:
The excess CPU load continues indefinitely.
Disabling the auto logout feature immediately stops the load.
Server Setup Information:
Additional context
Might be triggered only with several hundreds of accounts in LDAP.
Relevant logs:
No actual errors hits the eye in DEBUG level rocketchat service log.
The text was updated successfully, but these errors were encountered: