What is your product version? 10.3.0
What is your product type (Angular or MVC)? Angular
What is product framework type (.net framework or .net core)? .NET 5
Hi , we are having problem of getting high CPU usage. Our application has been depolyed in azure. it is taking high CPU usage as well and thread count is also getting very high in azure , we are avg 100 threads in azure
Thanks
16 Answer(s)
-
0
Hi @shedspotter
Could you upgrade all your Abp.* NuGet packages to 6.6.2 and see if it helps ?
Thanks,
-
0
Hi @ismcagdas, I have updated the nuget packge and then run the tool called jetbrains for profiler and refreshed the page and found only refreshing the page is tasking almost 575mb of memory and aslo if you can see the unmanaged memeory it also 264 mb
and in second screen shot if you can see the unmanaged memory it showing 314mb at that time I am not using anything application is in ideal mode
and aslo please let me know how the objects are getting disposed in your applicate becuase I did not find IDisposable interface anywhere
Thanks
-
0
-
0
Hi @shedspotter
I have a few more questions.
- Do you use Redis in your app ?
- How many users are actively using the system.
- Do you have any "async void" methods ?
Thanks,
-
0
Hi @ismcagdas,
- Do you use Redis in your app ? = > No
- How many users are actively using the system. = > 15 users in development
- Do you have any "async void" methods ? = > yes but those are private menthod and Task type not actually void type
Thanks
-
0
Hi @shedspotter
It is really hard to reach to such a CPU usage with 15 users. Aare you able to reproduce this on your local environment ? If so, can we also test it with your solution and try to find the problem ?
Thanks,
-
0
Hi @ismcagdas, yes I am able to reporduced it , the above two images is from my login page and https://support.aspnetzero.com/QA/Questions/10866/Application-consuming-high-CPU-usage#answer-fedf259a-7b40-2872-fa3e-3a01d541dbda this from azure You can also test it in my local environment, we can not share our code as we are not allowed to shared due to proprietary , we can scheduled a call for this
Thanks
-
0
Hi @shedspotter
Let us check it first. Then we can schedule a call if it is necessary. You can follow the progress here: https://github.com/aspnetzero/aspnet-zero-core/issues/4238
-
0
Hi @musa.demir sure
Thanks
-
0
Hi @shedspotter
Could you at least share your web app's Startup.cs and its csproj files ?
-
0
Hi @ismcagdas, I have send the required file through email "[email protected]"
Thanks
-
0
Hi @shedspotter
Thanks, I received the files. I will investigate and reply via email.
-
0
Hi, We are also facing the same issue for our applicaiton. Any suggestion ?
What is your product version? 10.5.0
What is your product type (Angular or MVC)? MVC
What is product framework type (.net framework or .net core)? .NET 6
-
0
Hi @ecash
Could you upgrade your ABP NuGet packages to latest version and also apply changes in below PRs;
-
0
Hi @ismcagdas, is there any update on the issue , and also yestarday I have sended you memory dump file via email so that it would help you guys to identiy the issue of high CPU usage