nthallen / monarch

Monarch Data Acquisition System
0 stars 1 forks source link

parent gets TIME_WAIT from dasctl #92

Closed nthallen closed 4 years ago

nthallen commented 4 years ago

This is a specific instance of #83 . When dasctl -R interact completes, parent apparently is the one to close the connection and hence gets stuck with TIME_WAIT. That means that the next time it comes around, it fails with: 19:09:41.541 [FATAL] parent: TCP: bind(0.0.0.0, 1354) failed with error 98: Address already in use The protocol needs to change so parent does not close until after the client does. The same should go for the status request.

nthallen commented 4 years ago

Resolved in 14c9d602f029d85b50afc5004bc72e34116f4ab2