This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
*newbie* /dev/root full after 24hrs
#40
(2018-08-07, 09:34 PM)stripydog Wrote:
(2018-08-06, 11:11 PM)stripydog Wrote: Undesirable behaviour for sure but this isn't so much a bug as a condition which wasn't anticipated (no outputs to write and repeated reconnections)

Short of a complete rewrite (yes, yes, kplex two-dot-oh) I can think of a couple of ways to mitigate against the problem we saw here: make keepalives work where kplex is a server (rather than a client) or provide an option to output some kind of heartbeat (proprietary sentence which should be ignored by receivers).  All comment/suggestionsgratefully received (but not guaranteed to be acted upon :-)

FYI I am going to remove the disconnect-on-idle behavior in SK server anyway. That should make this particular interaction go away.

Outputting bogus heartbeats seems like a kludge to me - the client doesn't need them, this is kplex internal. How about a watchdog thread  that closes connections that the client has closed (that are in CLOSE_WAIT), no matter what?
Reply


Messages In This Thread
*newbie* /dev/root full after 24hrs - by Yannick - 2018-06-06, 06:27 PM
*newbie* /dev/root full after 24hrs - by tkurki - 2018-08-05, 02:41 PM
RE: *newbie* /dev/root full after 24hrs - by tkurki - 2018-08-08, 03:36 PM
*newbie* /dev/root full after 24hrs - by PaddyB - 2018-08-06, 11:39 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)