Sample Header Ad - 728x90

How to generate memory dump from outside a running container

2 votes
1 answer
5265 views
I have running a .net service inside a container. And I am observing the memory consumption of this service inside the container is gradually going up to the limit set to that container and after it reaches the threshold limit the container get killed. To debug further I want to generate a memory dump of the .net service inside the container by staying outside the container. Can I do it? I have refrained to install any third-party software as the policy is not allowing me. My current host details are as follows, NAME="Ubuntu" VERSION="16.04.6 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.6 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/ " but I have Ulimit installed on the host machine. Tried with Ulimit but not successful.
Asked by JYOTI PRAKASH MALLICK (231 rep)
Sep 23, 2019, 12:15 PM
Last activity: Oct 14, 2019, 11:46 AM