<?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[Cannot increase Medium priority core pool size in System Settings]]></title><description><![CDATA[<p dir="auto">In system_settings.shtm on core 2.7.4, I cannot increase the "Medium priority core pool size." This was also happening under core 2.7.2, and is one of the main reasons I upgraded. Unfortunately, I understand it my pool setting in overrides/env.properties is now ignored.</p>
<p dir="auto">The error appears after I click on the "Save" button in the thread pool box: a pop-up on the webpage displays "Error" and the text below is added to ma.log.</p>
<pre><code>2016-02-24 12:45:41,200 ERROR (com.serotonin.m2m2.web.dwr.util.ExceptionDetectionFilter.doFilter:38) - DWR invocation exception  
java.lang.NoSuchMethodError: com.serotonin.m2m2.rt.maint.BackgroundProcessing.setMediumPriorityServiceMaximumPoolSize(I)V 
at com.serotonin.m2m2.web.dwr.SystemSettingsDwr.saveThreadPoolSettings(SystemSettingsDwr.java:381) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
at java.lang.reflect.Method.invoke(Method.java:497) 
at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34) 
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428) 
at com.serotonin.m2m2.web.dwr.util.TranslationsFilter.doFilter(TranslationsFilter.java:37) 
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428) 
at com.serotonin.m2m2.web.dwr.util.ExceptionDetectionFilter.doFilter(ExceptionDetectionFilter.java:26) 
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428) 
at com.serotonin.m2m2.web.dwr.util.DwrPermissionFilter.doFilter(DwrPermissionFilter.java:45) 
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428) 
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431) 
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283) 
at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52) 
at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101) 
at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808) 
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669) 
at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83) 
at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:300) 
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) 
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) 
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) 
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577) 
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223) 
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) 
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) 
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) 
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) 
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) 
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215) 
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) 
at org.eclipse.jetty.server.Server.handle(Server.java:499) 
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) 
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) 
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) 
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) 
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) 
at java.lang.Thread.run(Thread.java:745)
</code></pre>
]]></description><link>https://forum.mango-os.com/topic/2147/cannot-increase-medium-priority-core-pool-size-in-system-settings</link><generator>RSS for Node</generator><lastBuildDate>Fri, 16 Oct 2026 02:58:33 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/2147.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Feb 2016 18:06:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cannot increase Medium priority core pool size in System Settings on Thu, 25 Feb 2016 16:43:51 GMT]]></title><description><![CDATA[<p dir="auto">Thanks. In that case, let's hope that next time I restart, deleting the __MACOSX/ directory fixed things.</p>
]]></description><link>https://forum.mango-os.com/post/11114</link><guid isPermaLink="true">https://forum.mango-os.com/post/11114</guid><dc:creator><![CDATA[Pedro]]></dc:creator><pubDate>Thu, 25 Feb 2016 16:43:51 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot increase Medium priority core pool size in System Settings on Thu, 25 Feb 2016 16:40:44 GMT]]></title><description><![CDATA[<p dir="auto">Nope. I can't replicate your issue on my 2.7.4 Mangoes.</p>
<p dir="auto">Here is the class in question,<br />
<a href="https://github.com/infiniteautomation/ma-core-public/blob/257f7b974d73254fa2e8aa650734b53a76b6ac48/Core/src/com/serotonin/m2m2/rt/maint/BackgroundProcessing.java" rel="nofollow ugc">https://github.com/infiniteautomation/ma-core-public/blob/257f7b974d73254fa2e8aa650734b53a76b6ac48/Core/src/com/serotonin/m2m2/rt/maint/BackgroundProcessing.java</a><br />
the method is clearly defined as public on line 166</p>
]]></description><link>https://forum.mango-os.com/post/11112</link><guid isPermaLink="true">https://forum.mango-os.com/post/11112</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Thu, 25 Feb 2016 16:40:44 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot increase Medium priority core pool size in System Settings on Thu, 25 Feb 2016 16:35:11 GMT]]></title><description><![CDATA[<p dir="auto">I realize that NoSuchMethodError is pretty fatal, but could it be that it is a matter of scope, where perhaps import or startup can access setMediumPriorityServiceMaximumPoolSize even though the web interface cannot?</p>
]]></description><link>https://forum.mango-os.com/post/11111</link><guid isPermaLink="true">https://forum.mango-os.com/post/11111</guid><dc:creator><![CDATA[Pedro]]></dc:creator><pubDate>Thu, 25 Feb 2016 16:35:11 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot increase Medium priority core pool size in System Settings on Thu, 25 Feb 2016 16:29:42 GMT]]></title><description><![CDATA[<p dir="auto">That is just referring to the database. The BackgroundProcessing class needs to actually have that number set to have it be used. It can't get set if the method that sets it is missing.</p>
<p dir="auto">This is the sort of thing that compilers catch, though, and we wouldn't have been able to compile it were that method not there in the proper version of the BackgroundProcessing class.</p>
]]></description><link>https://forum.mango-os.com/post/11110</link><guid isPermaLink="true">https://forum.mango-os.com/post/11110</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Thu, 25 Feb 2016 16:29:42 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot increase Medium priority core pool size in System Settings on Thu, 25 Feb 2016 15:48:24 GMT]]></title><description><![CDATA[<p dir="auto">So, it seems that the JSON file export of  "System settings" shows:<br />
"mediumPriorityThreadMaximumPoolSize":300,<br />
which is what I set the pool size to from /system_settings.shtm. However, the /system_settings.shtm still shows 3, even after I clear the browser cache. Which should I believe? I can't view /internal/workItems.shtm because that generates an error.</p>
<p dir="auto">Would a restart read the JSON and use the new pool size? After the upgrade, I had to start in SAFE mode for the startup to complete, so I'd like to avoid a restart due to the downtime and the risk of the additional overhead of having to start in SAFE mode again.</p>
]]></description><link>https://forum.mango-os.com/post/11103</link><guid isPermaLink="true">https://forum.mango-os.com/post/11103</guid><dc:creator><![CDATA[Pedro]]></dc:creator><pubDate>Thu, 25 Feb 2016 15:48:24 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot increase Medium priority core pool size in System Settings on Wed, 24 Feb 2016 18:09:34 GMT]]></title><description><![CDATA[<p dir="auto">Note that under core 2.7.2 I tried increasing the pool size with the datasources running. In core 2.7.4, I started in SAFE mode, and tried to increase the pool size before enabling the datasources. The high priority pool size seemed to change without any error messages, so I assume that one worked.</p>
]]></description><link>https://forum.mango-os.com/post/11078</link><guid isPermaLink="true">https://forum.mango-os.com/post/11078</guid><dc:creator><![CDATA[Pedro]]></dc:creator><pubDate>Wed, 24 Feb 2016 18:09:34 GMT</pubDate></item></channel></rss>