Issue with an earlier well functioning AppService

Viktor Banai 0 Reputation points
2024-06-21T09:00:34.67+00:00

Hello Team,

I would like to ask your help in a technical issue. I am creating an AI chatbot flaskbased application , where using mostly open source libraries. For semantic search and ranking I am using FlashRank library (https://github.com/PrithivirajDamodaran/FlashRank ). A month ago I deployed as Azure App Service, I tested it several times , and worked properly. In spite of the earlier deployment success at the moment I am facing issue, the app doesn't work properly it stops functioning when calling the function which fires the FlashRank. I tried using different Virtual Machines or Container Instance, but experienced the same issue. I checked Kudu and log streams, but I haven't received detailed description about the issue. Always someting like this:

2024-05-23T13:17:54.8054943Z warn: Microsoft.AspNetCore.Server.Kestrel[22] 2024-05-23T13:17:56.3435109Z As of "05/23/2024 13:17:39 +00:00", the heartbeat has been running for "00:00:01.[9722283]" which is longer than "00:00:01". This could be caused by thread pool starvation. 2024-05-23T13:19:30.3993582Z warn: Microsoft.AspNetCore.Server.Kestrel[22] 2024-05-23T13:19:31.3647632Z As of "05/23/2024 13:19:18 +00:00", the heartbeat has been running for "00:00:03.[1978528]" which is longer than "00:00:01". This could be caused by thread pool starvation.

I created logging for debugging and it turned out the the stop happens when calling Flashrank, the logging message after the flashrank function can't be reached.

Can you suggest solution solving this, and help me understand what happened that all of a sudden the app service doesn't work as used to be.

Thanks you help in advance,
Viktor Banai

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,325 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,389 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,247 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Viktor Banai 0 Reputation points
    2024-06-25T07:49:51.46+00:00

    Thanks Jason, locally the code runs properly, and if I got back to the earlier commit which worked fine, now it doesn't work. Okay, I try to build my app from scratch again and change tier if needed. Let's see how it goes.

    Best wishes,
    Viktor

    0 comments No comments