AppFabric Cache Crashes -
the scenario:
have written end service periodically checks new rows in database , inserts appfabric cache. have been using approach since 2 odd months.
we using server machine store data cache in different regions. not using cluster of machines. single machine. "default" cache region has been divided 3 regions 3 different environments. each environment access machine cached data specified cache region.
it working fine until following happening since few days. getting following exception.
errorcode: errca0016 :substatus es0001 : connection terminated, possibly due server or network problems or serialized object size greater maxbuffersize on server. result of request unknown.
the subsequent access cache throws following exception: errorcode errca0017 : substatus es0001: there temporary failure. please retry later.
after 4 5 try, following exception. errorcode errca0018 : substatus es0001 : request timed out.
after this, access cache throws following exception: errorcode errca0005 : substatus es0001 : region referred not exist. use createregion api fix error.
looking first error errorcode: errca0016 :substatus es0001 : checked if serialized object stored of greater size max buffer size. prior larger size object kept cache. seems can not problem.
what can exact problem can occurring ?
edited: did view logs of event logger windows appfabirc cache. found upon our diggings. these of frequent error logs obtained.
source : appfabriccachingservice.failfast
param : lease external store expired: microsoft.fabric.federation.externalringstatestoreexception: lease expired @ microsoft.fabric.data.externalstoreauthority.updatenode(nodeinfo nodeinfo, timespan timeout) @ microsoft.fabric.federation.sitenode.performexternalringstatestoreoperations(boolean& canformring, boolean isinsert, boolean isjoining) general : appfabric caching service crashed. lease external store expired: microsoft.fabric.federation.externalringstatestoreexception: lease expired @ microsoft.fabric.data.externalstoreauthority.updatenode(nodeinfo nodeinfo, timespan timeout) @ microsoft.fabric.federation.sitenode.performexternalringstatestoreoperations(boolean& canformring, boolean isinsert, boolean isjoining)}
source: appfabriccachingservice.crash
param :
system.runtime.callbackexception: async callback threw exception. ---> system.identitymodel.tokens.securitytokenvalidationexception: service not allow log on anonymously. @ ......
probable causes
upon searching above event log errors, found caused due following problem. cache server different server , sql configuration used same database on different server. while getting cache configurations sql database there failure in creating connection between cache server , database server. so, moved cache configurations sql xml. still got error.
errorcode errca0017 : substatus es0001: there temporary failure. please retry later.
errorcode errca0005 : substatus es0001 : region referred not exist. use createregion api fix error.
upon more digging up, guessing problem this. whenever machine not has grant access permissions access appfabric cache, tries number of attempts , appfabric stops working. after granting access cache using grant powershell commands, machine able access cache. have monitor few days.
could valid reason ?
Comments
Post a Comment