Updating alfresco share 1000 file limit

Posted on Thursday, January 12, 2012




Using Alfresco share I recently hit a limit on how many files can be displayed in a folder, it is 1,000.  You can have 10,000 or more files in the folder but only 1,000 will be displayed. 


This is because of a query setting with alfresco and here is how to fix it.  I found this information at http://forums.alfresco.com/en/viewtopic.php?f=4&t=22178 [1]


I edited the repository.properties at


       > sudo pico tomcat/webapps/alfresco/WEB-INF/classes/alfresco/repository.properties



I updated


#
# Properties to limit resources spent on individual searches
#
# The maximum time spent pruning results
system.acl.maxPermissionCheckTimeMillis=10000
# The maximum number of results to perform permission checks against
system.acl.maxPermissionChecks=1000


to


#
# Properties to limit resources spent on individual searches
#
# The maximum time spent pruning results
system.acl.maxPermissionCheckTimeMillis=50000
# The maximum number of results to perform permission checks against
system.acl.maxPermissionChecks=5000


I just upped the limit to 5,000 and the upped the time limit to 50 seconds.




Then I restarted the alfresco webapp and now we can get more than 1,000 files shown in share J

- Patrick Bailey

References
[1]  more than 1000 records in webservice search api?
       Visited 1/2011

3 comments:

  1. I did this but I can still only get 1000 records. I restarted alfresco service by running

    service alfresco stop
    service alfresco start. I am running alfresco 3.4d. Still no dice. I only see 1000 records.

    ReplyDelete
    Replies
    1. I will try this again and see if I can update this guide a bit better. (give me a few days)

      Delete
    2. I made an updated version of this guide and posted it here http://www.whiteboardcoder.com/2012/10/update-increase-alfresco-share-34d-1000.html

      An alfresco stop/start should have worked. But I did do a complete reboot of the server for good measure.

      Delete