Ticket #1265 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

Discourage zombie moshes

Reported by: adehnert Owned by:
Priority: normal Milestone: The Distant Future
Component: linerva Keywords: c++
Cc: Fixed in version:
Upstream bug:

Description

We have lots of mosh-server's on linerva that probably have no clients still around, and will never be connected to. We should figure out a good way to discourage them from accumulating. Fixing the garbage collection half of  https://github.com/keithw/mosh/issues/12 might be part of this.

Techniques / possible components:

  • installing an attachandrun script that we tell people to use, and having it do some sort of setup
  • kill long-idle mosh sessions (upstream changes may have a role to play here, as might just having root run a bunch of "kill" commands every once in a while...)
  • giving mosh sessions some session identifier and auto-killing any current servers with that session ID when connecting
  • yelling at people with lots of mosh sessions

Change History

comment:1 Changed 12 years ago by adehnert

  • Keywords c++ added

comment:2 Changed 12 years ago by andersk

  • Status changed from new to closed
  • Resolution set to fixed

mosh now prints a loud blue warning about each of your other detached Mosh sessions on the same server:

Mosh: You have a detached Mosh session on this server (mosh [30111]).

which is probably enough to encourage this problem to go away.

Note: See TracTickets for help on using tickets.