Copied to clipboard

Flag this post as spam?

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


  • Kevin Lawrence 183 posts 350 karma points
    Mar 07, 2014 @ 13:01
    Kevin Lawrence
    0

    v2.1.0 (v6.1.6) - Reading/Importing templates takes forever

    Hi

    I'm using uSync in an Azure production instance and it takes forever to import templates, uSync starts importing the templates and then resets after 2 mins and the Umbraco instance restarts and uSync starts all over again.  I imagine this is proabably an Umbraco performance issue rather than uSync but thought I'd mention it.

    I've had to disable Templates reading for now to work around the issue.

    Any ideas?

    Thanks

    Kev

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Mar 07, 2014 @ 13:25
    Kevin Jump
    0

    Hi,

    I've no specifics, but i know when you load template and stylesheet objects in umbtraco it reads the whole file content from disk, it slows it down a little.

    also on 2.1 - i think the import of doc types using the new API triggers a lot of internal umbraco cache rebuilding, and on a site with lots of content that can slow it down. I haven't tried it on a large content site, but I suspect usync v1.5.8 would be faster on umbraco6 - and there isn't actually a massive difference in functionality (the diffrence in 1.5.8 uses the legacy api 2.1 uses the core api)

    I've been doing some work on the latest release of usync and I've put in a lot of speed improvement stuff in to only re-import stuff when it's changed - unfortunately it relies on the Umbraco.Core API and a it has couple of fixes that are going to be in 7.1 (and maybe 6.2)

    It would be interesting to see what the umbracodebugtrace.log file is showing you ? that might point to what is taking the time -

  • Kevin Lawrence 183 posts 350 karma points
    Mar 07, 2014 @ 13:30
    Kevin Lawrence
    0

    Thanks for the quick response, where can I find the trace log? Do I need to enable tracing in the web.config?

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Mar 07, 2014 @ 13:35
    Kevin Jump
    0

    Hi

    the log is in /app_data/logs/ info tracing is on by default and might show you enough #

    if you enable debug in /config/log4net.config you will get A LOT more stuff from umbraco and usync.

  • Kevin Lawrence 183 posts 350 karma points
    Mar 07, 2014 @ 13:45
    Kevin Lawrence
    0

    Oh sorry you meant the UmbracoTraceLog file?  The Debug bit threw me :-)

    Sure I will enable debug and get something over.

  • Kevin Lawrence 183 posts 350 karma points
    Mar 07, 2014 @ 13:49
    Kevin Lawrence
    0

    Can I email it to you? What's your address?

    Thanks

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Mar 07, 2014 @ 13:51
    Kevin Jump
    0

    yeah sorry, my inability to separate things in my brain gets me again : )

Please Sign in or register to post replies

Write your reply to:

Draft