Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure wbe jobs gets aborted after 1 hour automatically #3037

Open
84961 opened this issue Nov 3, 2023 · 2 comments
Open

Azure wbe jobs gets aborted after 1 hour automatically #3037

84961 opened this issue Nov 3, 2023 · 2 comments

Comments

@84961
Copy link

84961 commented Nov 3, 2023

I have a manual triggered web job which times out automatically after 1 hr.

The app server Always on is set and the configurations are set the high values

SCM_COMMAND_IDLE_TIMEOUT and WEBJOBS_IDLE_TIMEOUT have been set to 172800

Also have settings.job where its configured as below

{
"timeout": "48:00:00"
}

What else needs to be done to ensure the web jobs does not gets auto aborted

image

@ZacharyDesira
Copy link

Not sure if you already tried these suggested options: https://learn.microsoft.com/en-us/answers/questions/532687/max-timeout-limit-for-azure-web-job-is-it-possible

@wuzhuoqing
Copy link

wuzhuoqing commented Dec 13, 2023

@84961 we met similar issue before. We used to run the webjob in a dedicated slot without actually website deployed and spent many time to debug the issue. It turns out we need to deploy the website to the slot to make it work. Not sure if this is the case for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants