-
Notifications
You must be signed in to change notification settings - Fork 43
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
JS index loads very slow when authad is used #138
Comments
Interesting info. |
Well, there are not too many first-class entries, but common structure is really nested and there are more than 200 entries in the indexmenu in general. Is 229 some 'magic number' that should be took in consideration? |
That number I guessed was based on the numbers from profiling. about 200 entries sounds not that large, but maybe it is doing individual expensive calls via the AD... All the functions that have the longest times have something with obtaining metadata. @splitbrain or @michitux do you have helpful suggestions what could be a relation between slow indexmenu and authAD? |
I had performance issues with indexmenu and authad at a customer before but couldn't pinpoint the problem either. Trouble was that it only happened for certain users but not all. But as I said I couldn't figure out what happened (debugging on a live system through another user's account made things more difficult). |
Recently some caching is added to auth plugins. Maybe that improve the combination of this plugins as well. |
Closing this, as probably the performce issues are in the communication with the ad part. That is a part that is not part of this plugin. |
The combination of JS mode and authad as authentication method makes indexmenu very unresponsive. Building the cache for the first time (first login) and every single save of a document lasts round about one minute in our environment with httpd using 100% CPU time.
I could break it down to exactly this combination of JS and authad. Turning of JS or switching the authentication backend solved the problem. It seems not to be any special active directory behaviour as the old ad authentication plugin still works, same to ldap or local users and groups.
Dokuwiki 2015-08-10a "Detritus"
indexmenu as of 2015-08-26
thanks & regards
Tim
The text was updated successfully, but these errors were encountered: