View Issue Details

IDProjectCategoryView StatusLast Update
0001642GNUnettransport servicepublic2024-05-03 13:59
Reportermrwiggles Assigned To 
PrioritynormalSeveritymajorReproducibilitysometimes
Status closedResolutionfixed 
Summary0001642: Core connections do not stay around as they should.
DescriptionAfter an indeterminate amount of time peers get disconnected according to the core service. There was a rumor that the disconnects happen after about five minutes, I have not experienced that particular behavior in a while. However, after "some" time peer connections do get dropped. It seems to come from a TCP transport level disconnect, as evidenced by the
"transport# disconnects due to timeout" statistic. Peers seem to be more stable over UDP, thus we think it's a TCP issue.

Main questions are:
1) if TCP level disconnects happen, why doesn't the transport service attempt to reconnect the peers?
2) there is a transport level keepalive mechanism, is this not working properly?
3) there is a core level keepalive mechanism, is that not working properly?
4) when core disconnects happen should core try to reconnect (or does it now?)?
5) can we re-create this issue by setting timeout values very low?
Additional InformationThere is a test case in src/testing called test_testing_topology_stability. This should set up a topology, test the connections, then wait for a certain amount of time and test the topology connections again. Does setting the wait period to a very long amount of time make this more predictable? What causes the disconnects if so?
TagsNo tags attached.

Activities

mrwiggles

2011-06-10 14:01

reporter   ~0004353

Put testcase, test_testing_topology_stability into HAVE_EXPENSIVE_TESTS, so we should be able to test this a bit more regularly.

Problem is resolved (at least on my system!).

mrwiggles

2011-06-10 14:03

reporter   ~0004354

Core connections seem quite stable now, no disconnects seen in the stability testcase.

Issue History

Date Modified Username Field Change
2011-01-07 13:44 mrwiggles New Issue
2011-06-10 14:01 mrwiggles Note Added: 0004353
2011-06-10 14:03 mrwiggles Note Added: 0004354
2011-06-10 14:03 mrwiggles Status new => closed
2011-06-10 14:03 mrwiggles Resolution open => fixed
2011-06-10 14:03 mrwiggles Fixed in Version => Git master
2011-09-19 10:45 Christian Grothoff Fixed in Version Git master => 0.9.0pre3
2011-09-19 10:45 Christian Grothoff Target Version => 0.9.0pre3
2024-05-03 13:59 Christian Grothoff Category TCP transport => transport service