Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mahgo 32 posts 152 karma points
    Jan 14, 2017 @ 07:59
    Mahgo
    0

    Long umbraco startup time.

    Is it normal for Umbraco to take around 20 seconds to startup? I'm using Umbraco 7.5.6. My site has around 30k nodes. What can I do to reduce the startup time? Here is the logs:

    2017-01-14 07:50:28,983 [P4548/D2/T1] INFO  Umbraco.Core.CoreBootManager - Umbraco 7.5.6 application starting on RD00155DD03750
    2017-01-14 07:50:29,045 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Determining hash of code files on disk
    2017-01-14 07:50:29,108 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Hash determined (took 67ms)
    2017-01-14 07:50:29,233 [P4548/D2/T1] INFO  Umbraco.Core.MainDom - Acquiring MainDom...
    2017-01-14 07:50:29,233 [P4548/D2/T1] INFO  Umbraco.Core.MainDom - Acquired MainDom.
    2017-01-14 07:50:29,248 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of umbraco.interfaces.IApplicationStartupHandler
    2017-01-14 07:50:29,686 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of umbraco.interfaces.IApplicationStartupHandler, found 0 (took 443ms)
    2017-01-14 07:50:29,842 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter
    2017-01-14 07:50:29,842 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter, found 0 (took 2ms)
    2017-01-14 07:50:29,842 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Core.PropertyEditors.IPropertyValueConverter
    2017-01-14 07:50:29,842 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyValueConverter, found 0 (took 2ms)
    2017-01-14 07:50:29,873 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Web.Mvc.SurfaceController
    2017-01-14 07:50:29,873 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Web.Mvc.SurfaceController, found 0 (took 4ms)
    2017-01-14 07:50:29,873 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Web.WebApi.UmbracoApiController
    2017-01-14 07:50:29,889 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Web.WebApi.UmbracoApiController, found 0 (took 16ms)
    2017-01-14 07:50:29,952 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Core.Media.IThumbnailProvider
    2017-01-14 07:50:29,952 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Core.Media.IThumbnailProvider, found 0 (took 2ms)
    2017-01-14 07:50:29,952 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Core.Media.IImageUrlProvider
    2017-01-14 07:50:29,952 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Core.Media.IImageUrlProvider, found 0 (took 1ms)
    2017-01-14 07:50:31,826 [P4548/D2/T1] INFO  Umbraco.Core.DatabaseContext - CanConnect = True
    2017-01-14 07:50:32,030 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Core.Models.PublishedContent.PublishedContentModel
    2017-01-14 07:50:32,062 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Core.Models.PublishedContent.PublishedContentModel, found 0 (took 25ms)
    2017-01-14 07:50:32,467 [P4548/D2/T1] INFO  Umbraco.Core.DatabaseContext - CanConnect = True
    2017-01-14 07:50:32,545 [P4548/D2/T1] INFO  Umbraco.Web.Cache.CacheRefresherEventHandler - Initializing Umbraco internal event handlers for cache refreshing
    2017-01-14 07:50:32,576 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Core.Persistence.Mappers.BaseMapper
    2017-01-14 07:50:32,576 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Core.Persistence.Mappers.BaseMapper, found 0 (took 4ms)
    2017-01-14 07:50:33,420 [P4548/D2/T1] INFO  umbraco.content - Load Xml from file...
    2017-01-14 07:50:33,436 [P4548/D2/T1] INFO  umbraco.content - Loaded Xml from file.
    2017-01-14 07:50:33,701 [P4548/D2/T1] INFO  Umbraco.Web.Search.ExamineEvents - Initializing Examine and binding to business logic events
    2017-01-14 07:50:35,696 [P4548/D2/T1] INFO  UmbracoExamine.LocalStorage.LocalTempStorageIndexer - Successfully sync'd main index to local temp storage for index: ~/App_Data/TEMP/ExamineIndexes/RD00155DD03750/Internal/
    2017-01-14 07:50:35,805 [P4548/D2/T1] INFO  UmbracoExamine.LocalStorage.LocalTempStorageIndexer - Successfully sync'd main index to local temp storage for index: ~/App_Data/TEMP/ExamineIndexes/RD00155DD03750/InternalMember/
    2017-01-14 07:50:36,625 [P4548/D2/T1] INFO  UmbracoExamine.LocalStorage.LocalTempStorageIndexer - Successfully sync'd main index to local temp storage for index: ~/App_Data/TEMP/ExamineIndexes/RD00155DD03750/External/
    2017-01-14 07:50:37,174 [P4548/D2/T1] INFO  UmbracoExamine.LocalStorage.LocalTempStorageIndexer - Successfully sync'd main index to local temp storage for index: ~/App_Data/TEMP/ExamineIndexes/RD00155DD03750/Index1/
    2017-01-14 07:50:37,412 [P4548/D2/T1] INFO  UmbracoExamine.LocalStorage.LocalTempStorageIndexer - Successfully sync'd main index to local temp storage for index: ~/App_Data/TEMP/ExamineIndexes/RD00155DD03750/Index2/
    2017-01-14 07:50:37,809 [P4548/D2/T1] INFO  UmbracoExamine.LocalStorage.LocalTempStorageIndexer - Successfully sync'd main index to local temp storage for index: ~/App_Data/TEMP/ExamineIndexes/RD00155DD03750/Index3/
    2017-01-14 07:50:37,840 [P4548/D2/T1] INFO  Umbraco.Web.Search.ExamineEvents - Adding examine event handlers for index providers: 6
    2017-01-14 07:50:38,014 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Core.PropertyEditors.IParameterEditor
    2017-01-14 07:50:38,014 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Core.PropertyEditors.IParameterEditor, found 0 (took 4ms)
    2017-01-14 07:50:46,079 [P4548/D2/T1] INFO  Umbraco.Core.DatabaseContext - CanConnect = True
    2017-01-14 07:50:46,219 [P4548/D2/T1] INFO  Umbraco.Core.CoreBootManager - Umbraco application startup complete (took 17360ms)
    
  • Alex Skrypnyk 6131 posts 23950 karma points MVP 7x admin c-trib
    Jan 14, 2017 @ 10:30
    Alex Skrypnyk
    0

    Hi Mahgo,

    In general scenario it's pretty OK to have a site with 30k nodes and 20 seconds to start.

    Do you have enabled XML cache?

    Umbraco builds internal cache at application startup, XML helps with it.

    Thanks,

    Alex

  • Mahgo 32 posts 152 karma points
    Jan 14, 2017 @ 10:39
    Mahgo
    0

    Hi Alex,

    There is no setting for it in my umbracoSettings but I believe it is enabled by default.

  • Bav Patel 4 posts 25 karma points
    May 22, 2017 @ 10:41
    Bav Patel
    1

    Hi, did you get anywhere with this?

    I'm currently experiencing slow load up times also, and believe it's to do with the cache, and indexing?

    Also that we're on Azure, and the server is switched out frequently, which causes the indexes to be rebuilt/application restart.

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft