I have been working with Azure websites for a while, but I am still struggling to understand why some extremely long running web work is occurring.
I have a webjob that is built using the Azure SDK and runs from an incoming message into a queue. This web job pulls the blob XML from the Azure Blob repository, which contains information about 110,000 elements, then passes through them and uses REST WebApi2 endpoints make various HttpClient requests to create different objects in our table repository as well as in DocumentDB .. The process is what I work on, but it works for several days ... this is normal, because there is no need for it, except it keeps randomly stopping, sometimes after two days ... for the last time the only message was "thread was pre van ". I make regular logging and http calls, so he doesn’t like the work sitting there doing nothing ...
UPDATE:
I should also indicate that I upgraded the entire application service plan to S1 and installed the web application that hosts the web resource on Always On ...
I also looked at "WEBJOBS_RESTART_TIME", but this has nothing to do with restarting after a stop, which I assumed that continuous operation without errors should not be done!
source
share