kangaroo1122 / milo-spring-boot-starter

基于eclipse milo封装的opc ua客户端starter,方便在spring boot中使用,支持spring boot 3.x。
https://blog.csdn.net/Vampire_1122/article/details/130497727
31 stars 13 forks source link

java.util.NoSuchElementException: Timeout waiting for idle object, borrowMaxWaitMillis=1000 #19

Open ShawnKion opened 1 month ago

ShawnKion commented 1 month ago

写值会报这个错

kangaroo1122 commented 1 month ago

写值会报这个错

你确定是这个工具的问题?

ShawnKion commented 1 month ago

我觉得是连接数不够用的,等不到可用连接报错

kangaroo1122 commented 1 month ago

我觉得是连接数不够用的,等不到可用连接报错

连接池的大小不是可以配置的???

ShawnKion commented 3 weeks ago

连接池配置大了就会报 java.lang.InterruptedException: UaServiceFaultException: status=Bad_TooManySessions, message=The server has reached its maximum number of sessions.

kangaroo1122 commented 3 weeks ago

连接池配置大了就会报 java.lang.InterruptedException: UaServiceFaultException: status=Bad_TooManySessions, message=The server has reached its maximum number of sessions.

大了是多大呢?kepware最多支持128个连接

ShawnKion commented 4 days ago

OPC server只支持5个session的连接

ShawnKion commented 4 days ago

image