Cannot send a request in the socket listener thread error
-
Hello all,
I've hooked up a mach-pro controller and it can read the inputs and outputs fine, but I keep getting this error. Also, tho I can read from the outputs (see what the values are) I can't write to them from Mango. I feel like this has something to do with the request error, as I think mango is the client sending the request to the controller. Any insights?Thanks,
Stephen -
We have an update for the BACnet module that might resolve this: http://store.infiniteautomation.com/module/BACnet
Make sure you have BACnet version 2.1.5 and let us know if the problem goes away.
-
OK, I'll have to check on Monday, Thanks
-
@JoelHaggar Hey Joel,
I applied the upgrade and it stopped that error but now I have another problem. The error that I'm getting now is "data source" :Task com.serotonin.ma.bacnet.BACnetDataSourceRT$2@1ec3e8d rejected from java.util.concurrent.ThreadPoolExecutor@167ab25[Running, pool size = 100, active threads = 100, queued tasks = 0, completed tasks = 159574]. It's also slowing down how often I get data from certain points.
Any ideas? -
Ok, this makes sense. Because we are now responding to these messages with a different thread all the available threads are being used up. How many BACnet data points do you have and why type of hardware are you running on?
We've made the thread pools adjustable in the next version of Mango 2.6 but here are some temporary replacement files to increate your threads:
m2m2-2.5.2-configurable-thread-pools.zip
This will increase your high priority threads from 100 to 1000.
-
Place the classes folder into overrides/classes, ensure you don’t overwrite anything that is already there
-
copy the properties about the configurable thread pools from the env.properties file included
— Mango needs to be shutdown at this point —
-
Remove ma-priv-1.2.4.jar and move the ma-priv-1.2.5.jar into lib
-
Start Mango back up and see if this problem is resolved.
-
-
@JoelHaggar We have a lot of data points, and were running mango on our servers. the zip file you posted can't be found.
-
That's very strange. Can you try this link: http://infiniteautomation.com/uploads/files/1432650472578-m2m2-2.5.2-configurable-thread-pools.zip? If not try logging out and testing the link and letting me know if it works.
-
Ya the link worked now and I applied it, so I'm just waiting to see if the data is updating faster now.
-
So I'm not getting that error any more now I get another one, well I probably was getting it all along but the warnings were turned off, and some of my data points are not updating as fast as they were before the upgrade. The error is: 'Data source': Error reading value for point Data point: Timeout. It's happening to a couple data sources, which are thermostats, and to all the data points in the source.
-
You might try increasing the time outs for the BACnet local device on the system setting page.
What is your polling rate on the data source and are your points using COV?
-
I increased the update period, and my controller is using COV but not the other sources.
-
This post is deleted!