locked
What does it mean when Web Role is "recycling"? RRS feed

  • Question

  • We are trying to do a deployment using the PowerShell cmdlet `Publish-AzureServiceProject` and the last message displayed on the screen is:

    "Instance XYZ of role ABC is busy."

    This message has been there for the last 20 minutes. So I logged into the management portal and the message there is:

    "RECYCLING: This deployment is recycling and will begin accepting service requests when one or more role instances are running."

    What does it mean and is it normal that it takes so long?


    EDIT: When I remote desktop to the Web Role, I can see the files correctly deployed to F:/approot but in the IIS manager, both application pool and the website with a GUID-y name is missing. The VM is running but nothing seems to be happening.
    Wednesday, September 19, 2012 12:12 PM

Answers

  • Busy state means it can't accept requests caused by ISS configuration is running.

    When management service can't configure IIS or some other setting in the role it recycles and try it again.

    Recyling means your role is dropping down in other words.

    Read more in Cory Fowlers article http://msdn.microsoft.com/en-us/library/windowsazure/hh127476.aspx


    Microsoft Platform Developer Cloudikka blog


    • Edited by dropoutcoder Wednesday, September 19, 2012 1:28 PM
    • Marked as answer by Borek Bernard Friday, September 28, 2012 11:56 AM
    Wednesday, September 19, 2012 1:27 PM
  • In our case, it meant that there was a subtle (unreported) error which meant that Node.js website couldn't be installed (we were missing web.cloud.config in the upgrade package).

    So "recycling" in our case meant "broken". We had to remove the instance and re-create it.

    • Marked as answer by Borek Bernard Friday, September 28, 2012 11:56 AM
    Wednesday, September 19, 2012 3:55 PM

All replies

  • Busy state means it can't accept requests caused by ISS configuration is running.

    When management service can't configure IIS or some other setting in the role it recycles and try it again.

    Recyling means your role is dropping down in other words.

    Read more in Cory Fowlers article http://msdn.microsoft.com/en-us/library/windowsazure/hh127476.aspx


    Microsoft Platform Developer Cloudikka blog


    • Edited by dropoutcoder Wednesday, September 19, 2012 1:28 PM
    • Marked as answer by Borek Bernard Friday, September 28, 2012 11:56 AM
    Wednesday, September 19, 2012 1:27 PM
  • In our case, it meant that there was a subtle (unreported) error which meant that Node.js website couldn't be installed (we were missing web.cloud.config in the upgrade package).

    So "recycling" in our case meant "broken". We had to remove the instance and re-create it.

    • Marked as answer by Borek Bernard Friday, September 28, 2012 11:56 AM
    Wednesday, September 19, 2012 3:55 PM
  • Hi Borek,

    Have you resolved the issue? If so, you can mark your solution as answer. it will be very beneficial for other community members who have similar questions. Thanks


    • Edited by Jiang Yun Friday, September 28, 2012 2:11 AM
    Friday, September 28, 2012 2:10 AM