azure-webjobs-sdk icon indicating copy to clipboard operation
azure-webjobs-sdk copied to clipboard

Azure wbe jobs gets aborted after 1 hour automatically

Open 84961 opened this issue 1 year ago • 2 comments

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

84961 avatar Nov 03 '23 08:11 84961

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

ZacharyDesira avatar Nov 19 '23 08:11 ZacharyDesira

@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.

wuzhuoqing avatar Dec 13 '23 00:12 wuzhuoqing