Re: Heap and thread dumps in CF


Mancioppi, Michele
 

Hi everyone,

The SAP Cloud Platform Performance Team open sourced a little a go a thingie you could use if you are apps are on Diego: https://github.com/SAP/cf-cli-java-plugin

It is a CLI command line built on top of CF SSH that does heap and thread-dumps on demand. You could use it from a cron-job and automate your regular dumps.

Plus we have a Java agent almost ready to be OOS-ed that we’d like to integrate in the java-buildpack that allows to take heap dumps under certain conditions of memory usage (absolute and increase over time). More info on this very soon (

Best,
Michele

On 31.05.17, 04:48, "Josh Ghiloni" <jghiloni(a)ecsteam.com> wrote:

if you have spring boot 1.4+ you can use the /heapdump actuator, and just get that on a regular basis…

--
Josh Ghiloni | ECS Team, now part of CGI | Senior Cloud Architect
5575 DTC Parkway Suite 135, Greenwood Village, CO 80111
T: (303) 590-5427
jghiloni(a)ecsteam.com | www.cgi.com <http://www.cgi.com> | www.ecsteam.com <http://www.ecsteam.com>


On 5/30/17, 8:45 PM, "Jay Allen" <jayallenmn(a)gmail.com> wrote:

Hey guys,

We're wondering if there is anything built-in to CF to gather and safely store java dumps when an app crashes in the middle of the night and the dump files are long gone by the time anyone gets to the app as the health monitor has already restarted it. We're aware of dynatrace, appdynamics, etc but are wondering what can be done in CF or a buildpack. We found https://github.com/cloudfoundry/java-buildpack/issues/70 where it's discussed in depth but is there anything else available or in development?

Jay

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.