Copied to clipboard

Flag this post as spam?

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


  • Myles Broomes 3 posts 73 karma points
    1 week ago
    Myles Broomes
    0

    XML Sitemap extremely slow

    Hi, we're currently having an issue with the XML sitemap being extremely slow to regenerate after making content changes. We'll make a change in Umbraco, hit /sitemap.xml and it'll take around 10 minutes to load. Is there a way of improving the speed? Any kind of caching we could do? Any help would be greatly appreciated.

  • Richard Soeteman 3826 posts 11835 karma points MVP
    1 week ago
    Richard Soeteman
    0

    Hi,

    It is generated dynamically. But cached after rendering, so next request should be fast. How big is the site, maybe exclude certain parts you don't want to add to the sitemap?

    Best,

    Richard

  • Robert Foster 434 posts 1642 karma points MVP admin c-trib
    3 days ago
    Robert Foster
    0

    Hey Richard, I'm seeing the same problem with a site (large number of nodes)... the url request just times out, and subsequent requests also time out. Where is the cached sitemap being held? Is it a physical file somewhere?

    This site is on Umbraco Cloud...

  • Robert Foster 434 posts 1642 karma points MVP admin c-trib
    3 days ago
    Robert Foster
    0

    Coincidentally, I also see the following error appear right about the time I hit the sitemap.xml link:

    Message:
    An unhandled exception occurred
    
    
    Exception:
    Microsoft.WindowsAzure.Storage.StorageException: The remote host closed the connection. The error code is 0x800704CD. ---> System.Web.HttpException: The remote host closed the connection. The error code is 0x800704CD.
       at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect)
       at System.Web.Hosting.IIS7WorkerRequest.ExplicitFlush()
       at System.Web.HttpResponse.Flush(Boolean finalFlush, Boolean async)
       at System.Web.HttpResponse.Flush()
       at System.Web.HttpWriter.WriteFromStream(Byte[] data, Int32 offset, Int32 size)
       at System.Web.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 count)
       at System.IO.Stream.<>c.<BeginWriteInternal>b__46_0(Object )
       at System.Threading.Tasks.Task`1.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.IO.Stream.EndWrite(IAsyncResult asyncResult)
       at System.IO.Stream.<>c.<BeginEndWriteAsync>b__53_1(Stream stream, IAsyncResult asyncResult)
       at System.Threading.Tasks.TaskFactory`1.FromAsyncTrimPromise`1.Complete(TInstance thisRef, Func`3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization)
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
       at Microsoft.WindowsAzure.Storage.Core.Util.AsyncStreamCopier`1.<StartCopyStreamAsyncHelper>d__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.WindowsAzure.Storage.Core.Util.AsyncStreamCopier`1.<StartCopyStreamAsync>d__4.MoveNext()
       --- End of inner exception stack trace ---
       at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.EndExecuteAsync[T](IAsyncResult result)
       at Microsoft.WindowsAzure.Storage.Blob.CloudBlob.EndDownloadRangeToStream(IAsyncResult asyncResult)
       at Microsoft.WindowsAzure.Storage.Core.Util.AsyncExtensions.<>c__DisplayClass7.<CreateCallbackVoid>b__5(IAsyncResult ar)
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Umbraco.Cloud.StorageProviders.AzureBlob.FileHandler.<DownloadRangeToStreamAsync>d__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
       at Umbraco.Cloud.StorageProviders.AzureBlob.FileHandler.<ProcessRequestAsync>d__4.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)
       at System.Web.HttpTaskAsyncHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)
       at System.Web.HttpApplication.CallHandlerExecutionStep.InvokeEndHandler(IAsyncResult ar)
       at System.Web.HttpApplication.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar)
    Request Information
    RequestID:9c610f61-a01e-0049-3ca9-c280c8000000
    RequestDate:Tue, 24 Nov 2020 21:33:56 GMT
    StatusMessage:Partial Content
    ErrorCode:
    
  • Richard Soeteman 3826 posts 11835 karma points MVP
    2 days ago
    Richard Soeteman
    0

    Think the sitemap.xml file timesout. , performance is improved in 2.10 RC can be found here https://www.dropbox.com/s/7e5dp4zwdgnm02z/seo-checker210_0.zip?dl=0 But still it needs to loop over the whole site.

    Hope the RC fixes your issue.

    Best,

    Richard

  • Myles Broomes 3 posts 73 karma points
    1 week ago
    Myles Broomes
    0

    Hi Richard, thanks for your reply. The site isn't huge - around 70 pages. It happens on some of our other much smaller sites as well so I'm wondering if there could be something in the SEO checker settings that could be causing this?

  • Richard Soeteman 3826 posts 11835 karma points MVP
    38 minutes ago
    Richard Soeteman
    0

    Hi,

    I found a really stupid bug. I's fixed now so few thousand nodes render in a few ms. Below the RC2 version of 2.10 where this bug is fixed

    https://www.dropbox.com/s/eubnvrg46uxha18/seo-checker210_0.zip?dl=0

    Best,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft