Skip to content

High memory usage on Ubuntu 16 #2052

@shravan2x

Description

@shravan2x

I run a number of ASP .NET Core 1.1 servers on Ubuntu. This is the htop view of one of the processes:

image

The process appears to be using 20G of VIRT. I understand that this is not actually allocated memory, but is the highest among all processes running on the entire system. This is view of a number of apps:

image

Every one of the 20.xG VIRTs is an ASP.NET Core app (and every other app in the 1000M range is mono). The actual ASP.NET server itself runs on Kestrel, is very simple and serves only static pages via MVC.

  1. Is there a reason for such a high VIRT?
  2. Why does an app that only serves static pages have 47M of private memory? (I'm aware some other language like PHP or even plain HTML might be better suited for my use, but I use ASP since it is more customizable and fun to work with)

Please note that since this scenario lies on a production server, the version is 1.1. I apologize if it has already been resolved in another issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions