cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco boot sequence, first login is slow

simon
Champ in-the-making
Champ in-the-making
Alf,

Could anyone tell me how the Aflresco boot sequence goes?

The first login after a reboot is really slow, once the first user logged in everything seems to speed up. I know the indexes are doing something at boot time but even when I wait like 2 minutes you can tell the difference.

What components can cause this? We tried to make a login script via the Alfresco API that logs in and runs a search to simulate the 'first user' and this seems to help a little.

Any idea how we could solve this? We reboot our production system overnight to make sure we have a consistent backup so every day someone has to wait a little longer to login and we are getting complaints about this.
3 REPLIES 3

rdanner
Champ in-the-making
Champ in-the-making
Alf,

Could anyone tell me how the Aflresco boot sequence goes?

The first login after a reboot is really slow, once the first user logged in everything seems to speed up. I know the indexes are doing something at boot time but even when I wait like 2 minutes you can tell the difference.

What components can cause this? We tried to make a login script via the Alfresco API that logs in and runs a search to simulate the 'first user' and this seems to help a little.

Any idea how we could solve this? We reboot our production system overnight to make sure we have a consistent backup so every day someone has to wait a little longer to login and we are getting complaints about this.

Simon,  are you rebuilding the index on every restart?

If so – you do not have to do this if you do not want to…

comment out the index.recovery.mode=FULL in
shared\classes\alfresco\extension\custom-data-location.properties

simon
Champ in-the-making
Champ in-the-making
Thanks rdanner, I checked this and the index.recovery.mode is set to VALIDATE so I doubt this is the problem. The problem is not the Alfresco boot time as such, it's the time needed for the first login.

andy
Champ on-the-rise
Champ on-the-rise
Hi

Any delay could be a mixture of things.

JSP compilation, caches etc

Your approach should have touched the caches. I would try jsp compilation. How long does each login take (first and normal)?

Andy