We are using the DirectoryAuthPlugin and it's successfully authenticating 
off our ldap server.
However retrieving list of users from Admin -> Users takes up to 30 sec, 
and there are only 150 users.   

Debug messages suggest increasing cache_memsize.  I've tried increasing 
this value and other cache values in [account manager] section but it has 
no noticeable effect, though I can see from the logs that the new values 
are being applied.

[account manager]
cache_memsize = 1000
cache_memsize_warn = 800
cache_ttl = 3600
cache_memprune = 5

Log excerpt:
These messages appear repeatedly while the Users page prepares to load:
2018-01-05 10:59:16,668 Trac[auth] INFO: pruning memcache in less than 800 
seconds, you might increase cache_memsize.
2018-01-05 10:59:16,668 Trac[auth] DEBUG: pruning memcache by 5: (current: 
2 > max: 1000 )
2018-01-05 10:59:16,669 Trac[auth] DEBUG: memcache hit for allusers
2018-01-05 10:59:16,727 Trac[auth] DEBUG: userlist:

Trac version is 1.0.1

I've tested running ldapsearch command from trac server to ldap server the 
response time is fast.

Trac GUI takes about 30 sec to view the Users page, or a single user, each 
and every time. Is something wrong with my configuration?  Is there a way 
to improve this response time?  Are there any further debugging clues that 
I can look for?

Kind regards,
Shiela Spaleta

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to