petercli
petercli

Reputation: 695

why worker role instance is busy?

I am learning Azure cloud services. I deployed the Contosco cloud service (https://azure.microsoft.com/en-us/documentation/articles/cloud-services-dotnet-get-started/) to a staging slot. The Ads worker role instance is having problems (busy status).

Any tips on troubleshooting ? Clicking on the instance just shows high level info. In a non-azure application, looking at event log would be useful. Should I following this instruction : https://www.opsgility.com/blog/2011/09/20/windows-event-logs-with-windows-azure-diagnostics-and-powershell/

Thanks,Peter

Upvotes: 0

Views: 1192

Answers (1)

Flemin Adambukulam
Flemin Adambukulam

Reputation: 860

You should first check this link to understand the various lifecycles a cloud service goes through. My understanding is something written in onstart() method might be the cause, but without any code in the question I can't be sure. Then you can Enable Diagnostics (logs) using this and this links. So, that you clearly see, what line of code has executed and what is keeping the cloud service busy.

Upvotes: 0

Related Questions