Copied to clipboard

Flag this post as spam?

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


  • Peter Rothman 4 posts 24 karma points
    Jun 29, 2012 @ 11:53
    Peter Rothman
    0

    Umbraco in load balanced environments in conjunction with DFS

    We have followed this guide when installing and configuring our Umbraco setup with three load balanced web servers and are replicating Lucene indexes and umbraco.config outside of Umbraco standard folders. We have however on some occasions noticed several exceptions in the Umbraco log table when publishing all site content:

    Error refreshing a node in the distributed list: 'System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Non-negative number required. Parameter name: capacity     at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)     at System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke(IAsyncResult asyncResult)     at umbraco.presentation.cache.dispatcher.InvokeDispatchMethod(DispatchType dispatchType, Guid factoryGuid, Int32 numericId, Guid guidId)'
      CacheClearing : System.ArgumentOutOfRangeException: Non-negative number required.  Parameter name: capacity     at System.Collections.Hashtable..ctor(Int32 capacity, Single loadFactor)     at System.Web.Caching.CacheSingle.CreateEnumerator()     at System.Web.Caching.CacheMultiple.CreateEnumerator()     at umbraco.cms.businesslogic.cache.Cache.ClearCacheObjectTypes(String TypeName)

    These errors have caused the generated umbraco.config to become out of sync between the three web servers and we have been forced to restart each of the web sites on each web server and republish all site content to be in sync again.

    Have anyone one else experienced these kinds of problems and what are we gaining from using Umbraco:s own replication in place of using solely DFS?

    We are using Umbraco version 4.7.2 on Windows Server 2008 R2 Standard Edition.
    We have also restricted umbraco users who can edit and publish certain areas of all site content.

  • Jonas Hilmersson 7 posts 28 karma points
    Jul 23, 2012 @ 13:24
    Jonas Hilmersson
    0

    Hi,

    Some more information on this case posted by my colleague. In the IIS log in the failing nodes I found the following failed call at the same time as the error above showed up in the Umbraco log.

    2012-07-02 07:57:02 192.168.78.13 POST /umbraco/webservices/cacheRefresher.asmx - 18888 - 192.168.78.11 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.261) 500 0 0 374
    Strange this is that the web site isn't completely down, because the following calls to ping.aspx and content pages still work.
    2012-07-02 08:03:09 fe80::4c9b:1b7a:8989:8336%13 GET /umbraco/ping.aspx - 18888 - fe80::4c9b:1b7a:8989:8336%13 - 200 0 0 0
    2012-07-02 08:04:12 ::1 GET /sv-se.aspx - 18888 - ::1 - 200 0 0 109
    Something must be wrong with the cacheRefresher.asmx web service and a restart of the web site (not IIS) seems to clear the faulty state.
    Brgds
    Jonas
  • Rasmus Østergård 19 posts 81 karma points c-trib
    Sep 19, 2013 @ 08:39
    Rasmus Østergård
    0

    Hey Peter and Jonas,

    Did you ever find out what caused the issue?

     

    Regards

  • Jonas Hilmersson 7 posts 28 karma points
    Sep 19, 2013 @ 08:54
    Jonas Hilmersson
    0

    Hi, 

    No we didn't. We didn't have the requirement to have a load balanced administration of Umbraco, just the output. So in one case we only distribute the output umbraco.config file and read this directly thus removing all dependency on the load balancing of Umbraco itself.

    Brgds

    Jonas

  • Rasmus Østergård 19 posts 81 karma points c-trib
    Feb 05, 2014 @ 17:02
Please Sign in or register to post replies

Write your reply to:

Draft