Skip to content

TCP timeout too short #171

Open
Open
@mdavidsaver

Description

@mdavidsaver

The 30 second idle timeout introduced by #144 was based a misunderstanding (by me) of the meaning of connectionTimeout in the java code. pvAccessJava clients are sending a echo every 30 seconds, while pvAccessCPP (and now also PVXS) servers timeout after 30 seconds. So there is a race between these two ~equal intervals.

The symptom of this is that otherwise idle connections will sometimes timeout after a multiple of 30 seconds. eg. with client and server both on the same host (my laptop) this can sometimes take several minutes.

I guess the only reasonable course of action is to increase the timeout in pvAccessCPP from 30 seconds to 60, while leaving the echo interval at 15 seconds?

cf. #139 and epics-base/pvxs#13 (comment)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions