Thread Pool is Full
-
I've got lots of errors rolling in that say, "High priority task: com.serotonin.ma.bacnet.BACnetDataSourceRT$1@128e15c was rejected because the thread pool is full." What can I do to fix the problem?
-
@mlavelle42
I increased the System Setting / Thread Pools / High priority maximum pool size - to 1,000 and that seems to have fixed the problem. Should this be set at 1,000 by default? -
@mlavelle42
BACnet can be much more thread hungry than others. It is our intention to review the purpose , but it is stable with a larger pool so it is not at the top of the list. Fewer threads will be used if all the BACnet points are served through a single data source.To your question, we may consider raising the defaults considering their age, but, it's still more than enough threads for most instances.