Skip to content

S7 connection reset blocks thread indefinitely #1775

Answered by chrisdutz
gpapama asked this question in Q&A
Discussion options

You must be logged in to vote

Well in contrast to typical connection pools, where there is a large number of connections to a device, with PLCs this is some times limited to 1-3 connections. Therefore we implemented the connection-cache in a way to reflect this. We could probably also create a connection-pool, that operates similarly to those of relational databases, however that would be a new feature.

Currently if the connection is blocked, then all others requiring access to that connection need to wait. They would need to anyway as most protocols wouldn't handle concurrent requests gracefully.

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@chrisdutz
Comment options

@chrisdutz
Comment options

@gpapama
Comment options

@chrisdutz
Comment options

Answer selected by gpapama
@chrisdutz
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants