0

我正在尝试让 azure web 角色在模拟器中工作。

我相信我和我的同事正在使用完全相同的设置。但它适用于我的机器,但不适用于她的机器。

这是设置:
Visual Studio 2015 社区。
Azure SDK 2.9.5。

我比较了日志,我的看起来像这样:

....  
State of xx changed from RoleStateSuspended to RoleStateBusy.
State of xx changed from RoleStateBusy to RoleStateUnhealthy.
State of xx changed from RoleStateUnhealthy to RoleStateBusy.
State of xx changed from RoleStateBusy to RoleStateStarted.  
....

她的看起来像这样:

....
State of xx changed from RoleStateSuspended to RoleStateBusy.
State of xx changed from RoleStateBusy to RoleStateUnhealthy.
>>>>_Context_Start: {7A692122-8B13-42A8-8B8B-435872E2C0C3}      Context={{ StopRoleEx:  instanceId=xx }}
>>>>_Context_Start: {C882D389-A2C9-47F2-9A05-6E23F56157B6}      Context={{ AgentpStopRoleWorkerEx:  ContainerId=EmulatorContainer   RoleInstanceId=xx }}
<- AgentMonitoringObject::EventStart(0x00007FF95DD075A0) =0x80070015        Context={{ AgentpStopRoleWorkerEx:  ContainerId=EmulatorContainer   RoleInstanceId=xx }}
Stopping role: xx. Notify: True  Recycle: False  StopTimeout: 5     Context={{ AgentpStopRoleWorkerEx:  ContainerId=EmulatorContainer   RoleInstanceId=xx }}
State of xx changed from RoleStateUnhealthy to RoleStateStopping.       Context={{ AgentpStopRoleWorkerEx:  ContainerId=EmulatorContainer   RoleInstanceId=xx }}
....

问题是什么可能导致网络角色进入停止状态?

我的理论是“StopTimeout:5”可能是这里的问题。但是我该如何改变这个值呢?

4

0 回答 0