Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is dotnet spawning multiple processes on Linux?

I run an asp.net core 3.0 application by dotnet app.dll on Ubuntu 18.04.1 LTS. I see 13 processes of my app. Why does it happen?13processes of Asp .net core

like image 344
Сергей Avatar asked Nov 07 '19 16:11

Сергей


People also ask

Can you run dotnet on Linux?

NET works well on their Linux distributions. Support is provided by those distributions. You can still open issues at dotnet/core if you run into problems.

Does process start work on Linux?

Not supported on Linux The following properties of ProcessStartInfo aren't supported on Linux and throw PlatformNotSupportedException : PasswordInClearText , Domain , LoadUserProfile , Password .


1 Answers

The white value in the list are the main processes. The green values are the threads.

This will probably be easier to visually parse if you enable the tree view.

You can do this via F2 -> Display Options -> Check Tree View

Also, from the Display Options Menu, you can change or disable the appearance of threads.


Another stack overflow thread provides more detail here:

https://unix.stackexchange.com/questions/10362/why-does-htop-show-more-process-than-ps

like image 50
Cameron Sanders Avatar answered Oct 31 '22 03:10

Cameron Sanders