Page MenuHomePhabricator

ToolsLab disconnects very frequently
Closed, ResolvedPublic

Description

I've found that when using tool labs, the server disconnects very frequently.
Even if I switch window to a browser, do a web search for the command I need to type and go back to type it, the session gets hung.

Is there a time limit for which the session remains open ? Is it possible to temporarily increase this limit for example when I'm debugging a tool labs specific bug ?

I'm using ssh <username>@login.tools.wmflabs.org to connect to it.

Event Timeline

Restricted Application added subscribers: Zppix, Aklapper. · View Herald Transcript

I do already have a ServerAliveInterval. And I tried values like 300, 200, 100. But I still get dropped frequently. Although I believe it has become better now compared to how it was before this.

I'll take a look at mosh - looks promising.

Is there a time limit for which the session remains open ? Is it possible to temporarily increase this limit for example when I'm debugging a tool labs specific bug ?

Have you tried dev.tools.wmflabs.org? login.tools.wmflabs.org is a more lightweight login bastion and dev is more dev-ing bastion. I heard there were plans to add lots of limitations and quotas to login, but I'm not sure if it has been applied.

AbdealiJK claimed this task.

@zhuyifei1999 I did try dev.tools.wmflabs.org too. but that didn't seem to have much of an effect.

Currently I've set the ServerAliveInterval to 5 and it seems to be working good. I've gotten only 1 disconnect or so in the past 30 mins.

This should be documented somewhere.

Agree.

I've made the modification in the "SSH" section of the Help page.