<?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[threadpools are full]]></title><description><![CDATA[<p dir="auto">Is thre a good way to understand threadpools?  I keep getting this error.</p>
<p dir="auto"><strong>High priority task: com.serotonin.m2m2.util.timeout.TimeoutTask@6a5ebeb was rejected because the thread pool is full.</strong></p>
<p dir="auto">Im reading about 80 devices by Modbus TCP.  I want to make sure Im getting quality data and not losing packets.</p>
]]></description><link>https://forum.mango-os.com/topic/2487/threadpools-are-full</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 16:18:15 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/2487.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 07 Oct 2016 15:47:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to threadpools are full on Fri, 14 Oct 2016 21:39:33 GMT]]></title><description><![CDATA[<p dir="auto">Hi Chris,</p>
<p dir="auto">Probably the right tool to resolve what is going on there is jstack, a thread dumping utility in Java. To use (if jstack is on your path. otherwise would be in jdk/bin/ ), you can type:</p>
<pre><code>jstack -l 1704 &gt; C:\Users\You\MangoStuff\stack-1704
jstack -l 1220 &gt; C:\Users\You\MangoStuff\stack-1220
</code></pre>
<p dir="auto">It could also be useful to know which is the parent PID, if one is the parent pid of the other (maybe you have two Java processes, maybe you have started two instances of Mango on different ports). It looks like you can get PPID numbers via this command at the command prompt:</p>
<pre><code>wmic process where (processid=1704) get parentprocessid
</code></pre>
<p dir="auto">My only familiarity with causing these forks to happen and hang uses Process Event Handlers, so if you have some I will invariably ask something about if that script runs and works.</p>
]]></description><link>https://forum.mango-os.com/post/12904</link><guid isPermaLink="true">https://forum.mango-os.com/post/12904</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Fri, 14 Oct 2016 21:39:33 GMT</pubDate></item><item><title><![CDATA[Reply to threadpools are full on Thu, 13 Oct 2016 15:48:52 GMT]]></title><description><![CDATA[<p dir="auto">Ok.  So as I am watching the Internal Diagnostics.  I see two java.exe running.  One PID 1704 and one PID 1220.</p>
<p dir="auto">Are both of these for Mango?</p>
]]></description><link>https://forum.mango-os.com/post/12898</link><guid isPermaLink="true">https://forum.mango-os.com/post/12898</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Thu, 13 Oct 2016 15:48:52 GMT</pubDate></item><item><title><![CDATA[Reply to threadpools are full on Fri, 07 Oct 2016 19:40:44 GMT]]></title><description><![CDATA[<p dir="auto">ok.  Ill do that.  Thanks</p>
]]></description><link>https://forum.mango-os.com/post/12852</link><guid isPermaLink="true">https://forum.mango-os.com/post/12852</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Fri, 07 Oct 2016 19:40:44 GMT</pubDate></item><item><title><![CDATA[Reply to threadpools are full on Fri, 07 Oct 2016 19:36:52 GMT]]></title><description><![CDATA[<p dir="auto">You could use the Lo4J Data Source to capture errors and then send those to your cloud Mango.  This is not a normal situation so once you figure out the cause I wouldn't worry about it too much.</p>
]]></description><link>https://forum.mango-os.com/post/12851</link><guid isPermaLink="true">https://forum.mango-os.com/post/12851</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Fri, 07 Oct 2016 19:36:52 GMT</pubDate></item><item><title><![CDATA[Reply to threadpools are full on Fri, 07 Oct 2016 19:34:57 GMT]]></title><description><![CDATA[<p dir="auto">Could I make a no_update error to send ot my cloud version so I can make sure I don't lose data?</p>
<p dir="auto">Do we have a no update error for the database?</p>
]]></description><link>https://forum.mango-os.com/post/12850</link><guid isPermaLink="true">https://forum.mango-os.com/post/12850</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Fri, 07 Oct 2016 19:34:57 GMT</pubDate></item><item><title><![CDATA[Reply to threadpools are full on Fri, 07 Oct 2016 19:33:30 GMT]]></title><description><![CDATA[<p dir="auto">Probably, just to be sure you got things back to normal.</p>
]]></description><link>https://forum.mango-os.com/post/12849</link><guid isPermaLink="true">https://forum.mango-os.com/post/12849</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Fri, 07 Oct 2016 19:33:30 GMT</pubDate></item><item><title><![CDATA[Reply to threadpools are full on Fri, 07 Oct 2016 19:32:18 GMT]]></title><description><![CDATA[<p dir="auto">Thanks.  Should I reboot Mango then</p>
]]></description><link>https://forum.mango-os.com/post/12847</link><guid isPermaLink="true">https://forum.mango-os.com/post/12847</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Fri, 07 Oct 2016 19:32:18 GMT</pubDate></item><item><title><![CDATA[Reply to threadpools are full on Fri, 07 Oct 2016 19:31:26 GMT]]></title><description><![CDATA[<p dir="auto">That doesn't make sense to me that it's running out of threads.  You might want to get a thread dump and send it to us to look at.</p>
<p dir="auto">One thing to check with your Meta Data Points is that you only have 1 data point updating its context from the same Data Source.  You don't want two points that both poll at the same time updating the same meta data point.</p>
<p dir="auto">If you run out of threads again to get a list of all the threads running use this URL after you are logged in /rest/v1/threads?stackDepth=30</p>
<p dir="auto">Copy all the JSON into a text file and email to <a href="mailto:support@infiniteautomation.com" rel="nofollow ugc">support@infiniteautomation.com</a> and we'll look it over.  Thanks. Joel.</p>
]]></description><link>https://forum.mango-os.com/post/12846</link><guid isPermaLink="true">https://forum.mango-os.com/post/12846</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Fri, 07 Oct 2016 19:31:26 GMT</pubDate></item><item><title><![CDATA[Reply to threadpools are full on Fri, 07 Oct 2016 19:27:51 GMT]]></title><description><![CDATA[<p dir="auto">Its running on a Windows 2012 Server.<br />
4GB RAM</p>
<p dir="auto">80GB hard drive</p>
<p dir="auto">We have 25 Modbus IP connections reading roughly 30 points each<br />
And 25 Metadata sources with around 10 points each</p>
]]></description><link>https://forum.mango-os.com/post/12844</link><guid isPermaLink="true">https://forum.mango-os.com/post/12844</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Fri, 07 Oct 2016 19:27:51 GMT</pubDate></item><item><title><![CDATA[Reply to threadpools are full on Fri, 07 Oct 2016 19:18:43 GMT]]></title><description><![CDATA[<p dir="auto">That totally depends on the type of computer it is running on and what the CPU can handle.  Under normal operation you really shouldn't run out of threads.  What type of data sources do you have and how many?  What type of computer is it on?</p>
]]></description><link>https://forum.mango-os.com/post/12843</link><guid isPermaLink="true">https://forum.mango-os.com/post/12843</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Fri, 07 Oct 2016 19:18:43 GMT</pubDate></item><item><title><![CDATA[Reply to threadpools are full on Fri, 07 Oct 2016 19:12:48 GMT]]></title><description><![CDATA[<p dir="auto">I see them in the Watchlists.  I go to the datapoints and I can see the small graph.  where it shows no data for that time.</p>
<p dir="auto">I also cant see them in my angular charts.</p>
<p dir="auto"><img src="https://camo.nodebb.org/060156bbbb4598e679134c9704249000833b33e6?url=https%3A%2F%2Fi.imgur.com%2FeUfjxmT.png" alt="0_1475867486510_upload-e510cb69-028d-476e-8b0a-514fac8cf2b7" class=" img-fluid img-markdown" /></p>
<p dir="auto">How big of threads can I make for this.  I really can't lose all of this data.</p>
]]></description><link>https://forum.mango-os.com/post/12842</link><guid isPermaLink="true">https://forum.mango-os.com/post/12842</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Fri, 07 Oct 2016 19:12:48 GMT</pubDate></item><item><title><![CDATA[Reply to threadpools are full on Fri, 07 Oct 2016 19:05:39 GMT]]></title><description><![CDATA[<p dir="auto">When you say it stopped logging data did it also stop polling data?  You don't see the timestamps on the Watch List updating?</p>
<p dir="auto">If you run out of threads then yes that would be the cause.  You can increase your thread pools and then you could try disabling and enabling the data sources or you might need to reboot Mango.</p>
]]></description><link>https://forum.mango-os.com/post/12841</link><guid isPermaLink="true">https://forum.mango-os.com/post/12841</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Fri, 07 Oct 2016 19:05:39 GMT</pubDate></item><item><title><![CDATA[Reply to threadpools are full on Fri, 07 Oct 2016 19:03:18 GMT]]></title><description><![CDATA[<p dir="auto">My mango has stopped logging any data.    Could this have been the problem?  How do I get Mango storing the data again.</p>
]]></description><link>https://forum.mango-os.com/post/12840</link><guid isPermaLink="true">https://forum.mango-os.com/post/12840</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Fri, 07 Oct 2016 19:03:18 GMT</pubDate></item><item><title><![CDATA[Reply to threadpools are full on Fri, 07 Oct 2016 16:09:56 GMT]]></title><description><![CDATA[<p dir="auto">great.  Thanks Phil</p>
]]></description><link>https://forum.mango-os.com/post/12831</link><guid isPermaLink="true">https://forum.mango-os.com/post/12831</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Fri, 07 Oct 2016 16:09:56 GMT</pubDate></item><item><title><![CDATA[Reply to threadpools are full on Fri, 07 Oct 2016 16:08:36 GMT]]></title><description><![CDATA[<p dir="auto">You could go ahead and set the high priority pool size to 10 or so and the maximum high priority pool to 200.</p>
]]></description><link>https://forum.mango-os.com/post/12830</link><guid isPermaLink="true">https://forum.mango-os.com/post/12830</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Fri, 07 Oct 2016 16:08:36 GMT</pubDate></item><item><title><![CDATA[Reply to threadpools are full on Fri, 07 Oct 2016 16:05:02 GMT]]></title><description><![CDATA[<p dir="auto">What would be a good size for the the threadpools?</p>
]]></description><link>https://forum.mango-os.com/post/12829</link><guid isPermaLink="true">https://forum.mango-os.com/post/12829</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Fri, 07 Oct 2016 16:05:02 GMT</pubDate></item><item><title><![CDATA[Reply to threadpools are full on Fri, 07 Oct 2016 15:57:27 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://camo.nodebb.org/7ef79d38bfa021de31a03fb08d1cc009ac3a183c?url=https%3A%2F%2Fi.imgur.com%2FnpPmavB.png" alt="0_1475855844595_Pasted image at 2016_10_07 09_55 AM.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.mango-os.com/post/12828</link><guid isPermaLink="true">https://forum.mango-os.com/post/12828</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Fri, 07 Oct 2016 15:57:27 GMT</pubDate></item><item><title><![CDATA[Reply to threadpools are full on Fri, 07 Oct 2016 15:53:10 GMT]]></title><description><![CDATA[<p dir="auto">What are your threadpools currently set to? You can increase the limits on the System Settings page, in the Thread Pools section.</p>
]]></description><link>https://forum.mango-os.com/post/12827</link><guid isPermaLink="true">https://forum.mango-os.com/post/12827</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Fri, 07 Oct 2016 15:53:10 GMT</pubDate></item></channel></rss>