<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Sluggish Mango instance]]></title><description><![CDATA[<p dir="auto">I've been messing around with my PC based Mango today and at some point it became very sluggish (menus are slow to load, operations which normally take a second seem to drag on for example importing CSV). Just wondering if there is a way to diagnose what is going on with the instance?</p>
]]></description><link>https://forum.mango-os.com/topic/3214/sluggish-mango-instance</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 13:15:00 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/3214.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 15 Jan 2018 20:46:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Sluggish Mango instance on Fri, 09 Feb 2018 20:59:15 GMT]]></title><description><![CDATA[<p dir="auto">I ended up upgrading my EC2 instance one level higher and then gave the JVM a ton of memory, system has been stable and very snappy since.</p>
]]></description><link>https://forum.mango-os.com/post/17292</link><guid isPermaLink="true">https://forum.mango-os.com/post/17292</guid><dc:creator><![CDATA[psysak]]></dc:creator><pubDate>Fri, 09 Feb 2018 20:59:15 GMT</pubDate></item><item><title><![CDATA[Reply to Sluggish Mango instance on Mon, 15 Jan 2018 21:10:09 GMT]]></title><description><![CDATA[<p dir="auto">You can't track it down at the thread level, since memory is shared between threads. If it'll respond, /rest/v1/threads?stackDepth=40&amp;asFile=true can be interesting for seeing if you have any long running threads (which are often to blame, and the GC thread will almost always show up as the main consumer of time in these situations (but 2nd and 3rd place can be interesting).</p>
<p dir="auto">The other piece of information that can elucidate memory chokeholds is <code>Java/bin/jmap -histo $(pidof java)</code> as typically one type of object has run away will all the memory, and you can see which type of object that is.</p>
<p dir="auto">From that and the stack traces, one can often sleuth it out.</p>
<p dir="auto">Sometimes its easier to disable things, then re-enable them until the meltdown occurs in terms of hunting where the memory has gone, which doesn't require any programming skills.</p>
]]></description><link>https://forum.mango-os.com/post/16893</link><guid isPermaLink="true">https://forum.mango-os.com/post/16893</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Mon, 15 Jan 2018 21:10:09 GMT</pubDate></item><item><title><![CDATA[Reply to Sluggish Mango instance on Mon, 15 Jan 2018 21:02:40 GMT]]></title><description><![CDATA[<p dir="auto">It started earlier today when I was screwing with all those scripts. At the same time I noticed that I was getting a ton of errors from the meta points about not being able to find the value. I cleared all the alarms, restarted mango, and changed the way I'm doing all those scripts (now just running every 15 mins and checking to see if my source points have newer data than my META points).</p>
<p dir="auto">Seems much much happier right now.</p>
<p dir="auto">For future, is there a way I can track down what thread inside Mango is causing something like that?</p>
]]></description><link>https://forum.mango-os.com/post/16892</link><guid isPermaLink="true">https://forum.mango-os.com/post/16892</guid><dc:creator><![CDATA[psysak]]></dc:creator><pubDate>Mon, 15 Jan 2018 21:02:40 GMT</pubDate></item><item><title><![CDATA[Reply to Sluggish Mango instance on Mon, 15 Jan 2018 20:55:35 GMT]]></title><description><![CDATA[<p dir="auto">There's a very high probability the garbage collector is thrashing. That's usually what's happening when the CPU pegs and things slow way down. This means you may have gotten close to using all your memory for something. Do you know what caused it?</p>
]]></description><link>https://forum.mango-os.com/post/16890</link><guid isPermaLink="true">https://forum.mango-os.com/post/16890</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Mon, 15 Jan 2018 20:55:35 GMT</pubDate></item><item><title><![CDATA[Reply to Sluggish Mango instance on Mon, 15 Jan 2018 20:50:08 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://camo.nodebb.org/1fa42dda890a8417a56fdf984840c49c3a3f32a0?url=https%3A%2F%2Fi.imgur.com%2FN5VxXOk.png" alt="0_1516049387006_Mango.PNG" class=" img-fluid img-markdown" /></p>
<p dir="auto">Woooow 99.9% CPU!</p>
]]></description><link>https://forum.mango-os.com/post/16886</link><guid isPermaLink="true">https://forum.mango-os.com/post/16886</guid><dc:creator><![CDATA[psysak]]></dc:creator><pubDate>Mon, 15 Jan 2018 20:50:08 GMT</pubDate></item></channel></rss>