Base solution for your next web application
Open Closed

Threads starvation / blocked situation #6948


User avatar
0
hikepos created

Someone else posted this on your site which you rejected and asked to post in Support. However, I am facing the same issue and posting it here. It is very critical. Our production server keeps going down everyday.

https://github.com/orgs/aspnetzero/teams/customers/discussions/30

The problem is system gets hang in un-predictive way. In the time of issue (hang), number of threads increases very fast and infinitely until we restart web app. CPU, RAM, Disk I/O, Network consumption are in safe range (below 20% each, even 1% CPU).

Its hosted on EC2 with 32 GB RAM and 16 Core Type is C5 4X Large

We are running version : 5.0.0 ASPNET ZERO

Thanks in advance !


9 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Have you used the following configuration? AuditingConfiguration RunInBackground

  • User Avatar
    0
    hikepos created

    No we have not used this.

  • User Avatar
    0
    maliming created
    Support Team

    Can you disable the audit function and try again?

    public class MyModule : AbpModule
    {
        public override void PreInitialize()
        {
            Configuration.Auditing.IsEnabled = false;
        }
    
        //...
    }
    
  • User Avatar
    0
    hikepos created

    Yes we have tried this before, currently we have kept auditing flase for sometime. But getting same issue when its false too.

    Any other solution method which we can try.

    Thanks in advance !

  • User Avatar
    0
    maliming created
    Support Team

    Can you share the error log after disabling the audit function? (Because you have audit related content in the error log shared by github.)

  • User Avatar
    0
    hikepos created

    no error comes, when looked into application pool we have large number of process and non are executing. Its totally hangs. Ones we recycle application pool then eveything start again.

  • User Avatar
    0
    maliming created
    Support Team

    No one has ever reported a similar question.

    Is the situation of this question helpful to you? https://github.com/aspnetboilerplate/aspnetboilerplate/issues/4235#issuecomment-465961924

  • User Avatar
    0
    hikepos created

    aspnetzero/aspnet-zero-core#2371

    above is same issue reported by other user. I will have a look to the link you have sent.

  • User Avatar
    0
    maliming created
    Support Team

    Let's discuss it on Github.