You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Mark Thomas (JIRA)" <ji...@apache.org> on 2008/06/24 09:46:45 UTC

[jira] Created: (INFRA-1660) Performance issues searching for users

Performance issues searching for users
--------------------------------------

                 Key: INFRA-1660
                 URL: https://issues.apache.org/jira/browse/INFRA-1660
             Project: Infrastructure
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: Confluence
            Reporter: Mark Thomas
            Assignee: Mark Thomas


The manage users page (http://cwiki.apache.org/confluence/admin/users/browseusers.action) can get very slow to search for users if the number of users exceeds the size of the cache. The root cause is the implementation of the user search functionality. It is quick only if all the users are in the cache.

If this search gets very slow (minutes) the fix short-term is:
- edit confluence/WEB-INF/classes/ehcache.xml
- increase the cache size for bucket.user.persistence.dao.hibernate.BucketUserDAO.findUserByUsername() (the cache size should be greater than the current number of users)
- restart confluence

As of today this has been increased from 10,000 to 15,000. There are currently ~13,800 users.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (INFRA-1660) Performance issues searching for users

Posted by "Mark Thomas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-1660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Thomas resolved INFRA-1660.
--------------------------------

    Resolution: Fixed

This has been fixed (for now).

> Performance issues searching for users
> --------------------------------------
>
>                 Key: INFRA-1660
>                 URL: https://issues.apache.org/jira/browse/INFRA-1660
>             Project: Infrastructure
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Confluence
>            Reporter: Mark Thomas
>            Assignee: Mark Thomas
>
> The manage users page (http://cwiki.apache.org/confluence/admin/users/browseusers.action) can get very slow to search for users if the number of users exceeds the size of the cache. The root cause is the implementation of the user search functionality. It is quick only if all the users are in the cache.
> If this search gets very slow (minutes) the fix short-term is:
> - edit confluence/WEB-INF/classes/ehcache.xml
> - increase the cache size for bucket.user.persistence.dao.hibernate.BucketUserDAO.findUserByUsername() (the cache size should be greater than the current number of users)
> - restart confluence
> As of today this has been increased from 10,000 to 15,000. There are currently ~13,800 users.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (INFRA-1660) Performance issues searching for users

Posted by "Mark Thomas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-1660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Thomas closed INFRA-1660.
------------------------------


> Performance issues searching for users
> --------------------------------------
>
>                 Key: INFRA-1660
>                 URL: https://issues.apache.org/jira/browse/INFRA-1660
>             Project: Infrastructure
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Confluence
>            Reporter: Mark Thomas
>            Assignee: Mark Thomas
>
> The manage users page (http://cwiki.apache.org/confluence/admin/users/browseusers.action) can get very slow to search for users if the number of users exceeds the size of the cache. The root cause is the implementation of the user search functionality. It is quick only if all the users are in the cache.
> If this search gets very slow (minutes) the fix short-term is:
> - edit confluence/WEB-INF/classes/ehcache.xml
> - increase the cache size for bucket.user.persistence.dao.hibernate.BucketUserDAO.findUserByUsername() (the cache size should be greater than the current number of users)
> - restart confluence
> As of today this has been increased from 10,000 to 15,000. There are currently ~13,800 users.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.