sftp/ssh freeze after hibernate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Steps:
1. ssh-connect to a remote server with nautilus (a web server vm, in my case)
2. Open some remote files with gedit directly from nautilus
3. Open a terminal, and connect to ssh
4. Hibernate and resume.
Result:
- gedit freezes
- ssh terminal unresponsive
- at the time when i still had 2GB memory (instead of 4GB), the rest of the system was also quite unresponsive.
Responsiveness (for everything) is back when I unmount the ssh/sftp connection in Nautilus, and/or close the ssh terminals.
------
Solution:
- Applications should understand that the connection is temporarily gone, and not waste resources on a broken ssh connection.
- Ideally, all involved applications should remember the remote filesystem location and opened files, until the connection is back. If they already do, we need to take care that the bugfix does not change this.
- Ubuntu hibernate should tell applications that ssh connections are temporarily gone.
- Ubuntu wake-up-
Bottomline:
Remember the state, allow to reconnect, and be patient (with dialogs and system resources) as long as the connection is (temporarily) gone.
Important:
As it is now, if after the unmount I then change one of the files in gedit, it will ask me for the ssh password and reconnect. This is good, and should stay this way!!
-----
I make this a kernel bug, because of the hibernate stuff.
I imagine that gedit is just one example for this problem, and the real solution has to happen in the kernel.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-
Regression: No
Reproducible: Yes
ProcVersionSign
Uname: Linux 2.6.32-23-generic x86_64
NonfreeKernelMo
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC0D0p: lemonhead 26870 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xea100000 irq 22'
Mixer name : 'Realtek ALC888'
Components : 'HDA:10ec0888,
Controls : 40
Simple ctrls : 22
Date: Wed Jul 14 07:38:03 2010
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
IwConfig:
lo no wireless extensions.
eth0 no wireless extensions.
ppp0 no wireless extensions.
MachineType: Gigabyte Technology Co., Ltd. EP43-DS3L
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LC_TIME=
LANGUAGE=en
PATH=(custom, user)
LANG=de_DE.utf8
SHELL=/bin/bash
RelatedPackageV
RfKill:
SourcePackage: linux
dmi.bios.date: 07/22/2008
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F6
dmi.board.name: EP43-DS3L
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSof
dmi.product.name: EP43-DS3L
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
Hi donquixote,
If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https:/ /wiki.ubuntu. com/KernelMainl ineBuilds . Once you've tested the upstream kernel, please remove the 'needs- upstream- testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs- upstream- testing' text. Please let us know your results.
Thanks in advance.
[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]