Red Hat Bugzilla – Bug 855282
logind slows down ssh logins by ~200ms
Last modified: 2013-08-01 07:24:30 EDT
Description of problem:
- Sometimes ssh login too slow
- When blocking login, I get backgrace from sshd. It's polling dbus socket file.
- And I gdb to dbus process also, It's polling too.
#0 0x00000038376e8ea4 in __GI___poll (fds=fds@entry=0x7fffd8a44f10, nfds=nfds@entry=5, timeout=timeout@entry=-1)
#1 0x000000000042c8f8 in _dbus_poll (fds=fds@entry=0x7fffd8a44f10, n_fds=n_fds@entry=5, timeout_milliseconds=timeout_milliseconds@entry=-1)
#2 0x000000000043066d in _dbus_loop_iterate (loop=loop@entry=0xe2c1b0, block=block@entry=1) at dbus-mainloop.c:717
#3 0x0000000000430aad in _dbus_loop_run (loop=0xe2c1b0) at dbus-mainloop.c:893
#4 0x00000000004041e6 in main (argc=<optimized out>, argv=<optimized out>) at main.c:520
Version-Release number of selected component (if applicable):
- fedora17 ( 3.3.7 custom)
Steps to Reproduce:
1. $ while true ; do /usr/bin/time -f "%E" ssh fedora17host "exit" ; done
2. It take non-uniform login speed
we got workaround for this issue.
Disable pam_systemd.so from /etc/pam.d/password-auth-ac
high speed login needed by fast deploying to massive servers.
(In reply to comment #0)
> Steps to Reproduce:
> 1. $ while true ; do /usr/bin/time -f "%E" ssh fedora17host "exit" ; done
> 2. It take non-uniform login speed
How big are the delays that you are seeing? Could you show us the measured times? Or at least an order of magnitude?
>How big are the delays that you are seeing? Could you show us the measured times? Or at least an order of magnitude?
$ while true ; do /usr/bin/time -f "%E" ssh fedora17 "exit" ; done
$ while true ; do /usr/bin/time -f "%E" ssh fedora17-disable-systemd "exit" ; done
When login delay occurred, systemd-journal seems process state 'D'.
Matthias what's the current status on this?
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '17'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 17's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 17 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged change the
'version' to a later Fedora version prior to Fedora 17's end of life.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.