The site periodically becomes unavailable with an HTTP 500 error. Everything that I could find from the logs so far:
ModuleName iisnode
Notification EXECUTE_REQUEST_HANDLER
HttpStatus 500
HttpReason Internal Server Error
HttpSubStatus 1001
ErrorCode The system cannot find the file specified. (0x2)
Please note that the response time in this case is about 38 seconds. I suspect this is happening because the IISNode process goes into sleep mode, and when it wakes up, it fails on the first request after a long time. I created Azure WebJob that pings a site every 15 minutes to keep it alive, and this seems to have solved the problem. I'm just wondering if there is a better solution.
source
share