azure-worker-roles

Windows Azure Worker Role Process

北城以北 提交于 2020-01-06 15:56:13
问题 I am trying to remote debug a Worker role but I can't seem to find any process to attach to. Apparently the role is in unhealthy state. When I select attach to debugger I get the dialog with a list of available processes. I can't find any of w3wp.exe, WaWorkerHost.exe, or WaIISHost.exe processes as described here Any help would be appreciated. Thanks 回答1: If your role is unhealthy and recycling I would recommend the troubleshooting steps at http://blogs.msdn.com/b/kwill/archive/2013/08/09

Azure Worker Role Asynchronous Receive message: how long I should put the sleep for? (milliseconds)

不问归期 提交于 2020-01-06 07:26:35
问题 Sample code here public override void Run() { while (true) { IAsyncResult result = CUDClient.BeginReceive(TimeSpan.FromSeconds(10), OnMessageReceive, CUDClient); Thread.Sleep(10000); } } I have tested this Azure worker role. I kept 100 messages in the Service bus Queue. It's doing entities updates as a operation(Entity framework). It took 15 minutes to process all the queues and looks like taking longer time. Any suggestion to improve this? Thanks in Advance 回答1: Try this one... /

Azure WASABi SecurityNegotiationException

微笑、不失礼 提交于 2020-01-05 07:31:10
问题 I'm running into this exception using Azure auto-scaling WASABi. Could not retrieve the instance count for hosted service with DNS prefix ' DNS Prefix '. Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.ServiceManagement.ServiceManagementClientException: The service configuration could not be retrieved from Windows Azure for hosted service with DNS prefix ' DNS Prefix ' in subscription id ' Subscription ID ' and deployment slot 'Staging'. System.ServiceModel.Security

Azure Emulator stuck

元气小坏坏 提交于 2020-01-04 13:38:29
问题 I'm working on azure WorkerRole project in VS2015 , SDK 2.9 . The role works good in cloud, but when i'm trying to run it locally with FullEmulator, role can't be started: [fabric] Role Instance: deployment29(116).MyComp.Engine.Deploy.MyProject.Engine.Azure.0 [fabric] Role state Unknown [fabric] Role state Busy [fabric] Role state Unknown [fabric] Role state Busy [fabric] Role state Unknown [fabric] Role state Busy [fabric] Role state Destroyed [fabric] Role state Busy looks like role is

Windows Azure - leader instance without single point of failure

微笑、不失礼 提交于 2020-01-02 05:14:10
问题 I am looking for a way to have a "Singleton" module over multiple worker role instances. I would like to have a parallel execution model with Queues and multiple worker roles in Azure. The idea is that would like to have a "master" instance, that is let's say checking for new data, and is scheduling it by adding it to a queue, processing all messages from a special queue, that is not processed by nobody else, and has mounted blob storage as a virtual drive, with read/write access. I will

Azure - queueing time based tasks

柔情痞子 提交于 2020-01-02 04:58:12
问题 My application that runs on Windows Azure processes incoming requests from a user (which are put into an Azure Queue) and assigns them to real-world people. The people have a certain amount of time to handle the request. If none of the people assigned handle the request, I need to move on to a new set of people. Basically, I want to queue these tasks to be handled at a certain time, and then handle them again. If one of the users handles the task, I need to dequeue it so it isn't handled

Restarting Azure Worker role “WaWorkerHost.exe” manually

女生的网名这么多〃 提交于 2020-01-01 03:20:31
问题 As I understand Azure Worker roles run by the help of Host application called WaWorkerHost.exe and there is another application called WaHostBootstrapper.exe which checks if WaWorkerHost.exe is running and if not it will run the WaWorkerHost.exe . How often does this 'worker role status check' occurs? How can I quickly restart the Worker role myself? I can either reboot the machine worker role is running and wait for few minutes or chose the following traditional method: Taskkill /im /f

Azure Worker Role Config File Transformations

大城市里の小女人 提交于 2019-12-31 22:00:25
问题 I've setup a new worker role and setup a couple of new config transforms for it via SlowCheetah. When I build the project with one of the new configs selected, I do in fact see that configs folder get created underneath the \bin folder as you would expect (for ex. \bin\Production). When I package a cloud service for deployment using one of the new configs, my web projects get their configs transformed appropriately but my worker role (which is just a library) does not even though I see

does multiple Azure worker role polling same Queue causes Dead Lock or Poison message

穿精又带淫゛_ 提交于 2019-12-30 02:18:25
问题 Scenario: if I've spin off multiple Worker roles or ONE Worker role with multiple threads, which polls the new messages in Azure Queue. Could someone please confirm if the this the correct design approach? The reason I would like to have many worker roles is to speed up the PROCESSJOB. Our application should be near real time, i.e. as soon as there are messages we should get, apply complex business rules and commit to AZURE DB. We are expecting 11,000 message per 3min. Thank you. 回答1: You may

How to increase MaxReceivedMessageSize for azure worker role deployment?

好久不见. 提交于 2019-12-25 06:38:53
问题 I have an azure worker role which is medium size and one instance. I encountered an error which says " The maximum message size quota for incoming messages (1048576) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element. " when deploying my azure worker role cloud service to azure using visual studio. I tried to increase maxReceivedMessageSize property in app.config like this but it didn't work: <bindings> <basicHttpBinding>