Failed to update web app settings: Number of Web workers must be greater than zero

TechnoPy 0 Reputation points
2024-11-13T07:33:26.4166667+00:00

Hello,

I am trying to update FTP state to FTP Only under Settings = Configurations. Getting error as 'Failed to update web app settings: Number of Web workers must be greater than zero.

User's image

I even increased the instance and still this didn't worked.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,185 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,006 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Pinaki Ghatak 5,230 Reputation points Microsoft Employee
    2024-11-13T18:51:43.11+00:00

    Hello @TechnoPy This error message indicates that the number of web workers for your app service plan is set to zero, which is not allowed.

    To resolve this issue, you need to increase the number of web workers for your app service plan. Can you please confirm if you have increased the number of web workers as well?

    You can increase the number of web workers by following these steps:

    1. Go to the Azure portal and navigate to your app service plan.
    2. Under the "Settings" section, click on "Scale up (App Service plan)".
    3. In the "Scale up" blade, select the appropriate pricing tier that supports multiple instances and set the number of instances to at least 1.
    4. Under "Instance details", set the number of web workers to at least 1.
    5. Click on "Apply" to save the changes. Once you have increased the number of web workers, try updating the FTP state to FTP Only again and see if the issue is resolved.

    I hope that this response has addressed your query and helped you overcome your challenges. If so, please mark this response as Answered. This will not only acknowledge our efforts, but also assist other community members who may be looking for similar solutions.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.