This bug was fixed in the package openssh - 1:8.9p1-3ubuntu0.1
---
openssh (1:8.9p1-3ubuntu0.1) jammy; urgency=medium
* d/p/fix-poll-spin.patch: Fix poll(2) spin when a channel's output
fd closes without data in the channel buffer.
(LP: #1986521)
-- Bryce Harrington Tue,
I've verified the test case as written. I reproduced the issue, enabled
the -proposed package and did apt-get full-upgrade to pull in the new
openssh from -proposed. The CPU usage dropped from 100% to <1% as soon
as the operation concluded.
** Tags removed: verification-needed verification-neede
I can confirm that the updated package works in that the real use case
which triggered the original bug (involving a script setting up an ssh
tunnel) no longer does. Sorry for the delay in responding -- things have
been busy, so I have also not tested the updated package much.
I have not updated t
Hello Michael, or anyone else affected,
Accepted openssh into jammy-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/openssh/1:8.9p1-3ubuntu0.1 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https
** Changed in: openssh (Ubuntu Jammy)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1986521
Title:
ssh client spins if output fd clo
** Description changed:
[Impact]
- In certain edge cases where the terminal goes away while an ssh process is
running, ssh can be left consuming 100% CPU. This increases processing costs
for cloud users and wastes energy.
+ In certain edge cases where the terminal goes away while an ssh proce
** Merge proposal linked:
https://code.launchpad.net/~bryce/ubuntu/+source/openssh/+git/openssh/+merge/433911
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1986521
Titl
** Description changed:
+ [Impact]
+ In certain edge cases where the terminal goes away while an ssh process is
running, ssh can be left consuming 100% CPU. This increases processing costs
for cloud users and wastes energy.
+
+ This is a regression in jammy presumably due to change from select
I've reproduced the issue and confirmed the PPA fixes it, as expected.
** Description changed:
+ [Test Case]
+ $ lxc launch ubuntu-daily:jammy ssh-cpu
+ $ lxc shell ssh-cpu
+
+ # passwd -d root
+ # ssh-keygen -t rsa -N '' -f /root/.ssh/id_rsa
+
+ # cat << EOF >>/etc/ssh/ssh_config
+ StrictHostK
I've posted a PPA with the patch to fix this issue here:
https://launchpad.net/~bryce/+archive/ubuntu/openssh-sru-lp1986521
This can be installed via:
$ sudo add-apt-repository -yus ppa:bryce/openssh-sru-lp1986521
$ sudo apt-get install openssh
Can you please upgrade to this and verify
** Changed in: openssh (Ubuntu Jammy)
Assignee: (unassigned) => Bryce Harrington (bryce)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1986521
Title:
ssh client spin
** Tags added: server-todo
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1986521
Title:
ssh client spins if output fd closed
Status in portable OpenSSH:
Unknown
Status
Thanks for taking the time to report the bug and make Ubuntu better.
I can reproduce the bug using your testcase, but that requires a VM with
a graphical environment installed. Another way to reproduce the bug is
(from the upstream bug report):
$ lxc launch ubuntu-daily:jammy ssh-cpu
$ lxc shell
And I can confirm that the patch at
https://bugzilla.mindrot.org/attachment.cgi?id=3581 applies cleanly and
fixes this issue.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1
14 matches
Mail list logo