Search code examples
javaalfresco

Alfresco not allowing more than 1000 active sessions


We have installed alfresco 4.2.e community edition. While doing load test. It is not allowing more than 1000 active users/sessions. Each new login after 1000, gets a token, but if we try to authenticate/proceed further it returns 402 unauthorized. Even we tried setting server.maxusers to -1 and later to 100000 in alfresco.properties file but the same happens. Single User Mode is disabled. We are running it under tomcat 7 on java 7 in windows machine. This is an upgraded system from 4.0.e to 4.2.e.


Solution

  • It is not related to the max number of sessions rather than to the max number of login tickets which are managed in memory cache:

    cache.ticketsCache.maxItems=1000
    

    Also take a look to the other ticket properties to control ticket livetime