[Bug 300151] Re: ssh slow during logon, when ENTERING INTERACTIVE SESSION
Correction, it is "UseDNS no". -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/300151 Title: ssh slow during logon, when ENTERING INTERACTIVE SESSION To manage notifications about this bug go to: https://bugs.launchpad.net/consolekit/+bug/300151/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 300151] Re: ssh slow during logon, when ENTERING INTERACTIVE SESSION
Restart the dbus service on the ssh server "sudo restart dbus" - that should help. If not, try adding "UseDNS=no" to your ssh server's sshd_config file and restart the service "sudo restart ssh" If the UseDNS trick works, check your dns server setup. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/300151 Title: ssh slow during logon, when ENTERING INTERACTIVE SESSION To manage notifications about this bug go to: https://bugs.launchpad.net/consolekit/+bug/300151/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 300151] Re: ssh slow during logon, when ENTERING INTERACTIVE SESSION
Using Oneiric, I am still experiencing the delay noted above. The server showing this delay is currently very underutilized, that is, low CPU utilization, lots of free RAM, low net if utilization, etc. There are no process hogs. Stopping/restarting avahi-daemon did not help at all. No console-kit zombies, nothing. $ time ssh -v root@tiny date OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e 6 Sep 2011 ... debug1: Authentication succeeded (publickey). Authenticated to tiny ([192.168.0.10]:22). debug1: channel 0: new [client-session] debug1: Requesting no-more-sessi...@openssh.com debug1: Entering interactive session. ... ... Transferred: sent 2536, received 2152 bytes, in 25.8 seconds Bytes per second: sent 98.3, received 83.4 debug1: Exit status 0 real0m26.258s user0m0.028s sys 0m0.008s -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/300151 Title: ssh slow during logon, when ENTERING INTERACTIVE SESSION To manage notifications about this bug go to: https://bugs.launchpad.net/consolekit/+bug/300151/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 300151] Re: ssh slow during logon, when ENTERING INTERACTIVE SESSION
No, I don't see consolekit consuming lots of memory. That said, I can see some consolekit zombies: [tris...@babylon ~] ps -le | grep Z F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD 5 Z 0 4658 1 0 80 0 - 0 exit ?00:00:00 console-kit-dae 5 Z 0 7122 1 0 80 0 - 0 exit ?00:00:00 console-kit-dae 5 Z 0 8257 1 0 80 0 - 0 exit ?00:00:00 console-kit-dae Stopping the avahi daemon, does not make any difference. Any clue? -- ssh slow during logon, when ENTERING INTERACTIVE SESSION https://bugs.launchpad.net/bugs/300151 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 300151] Re: ssh slow during logon, when ENTERING INTERACTIVE SESSION
On Fri, Oct 09, 2009 at 01:43:32PM -, tristan_lefebure wrote: > I do experience the same symptoms on Jaunty, i.e. 20s break in > "Entering interactive session." while loging through ssh. Any idea if > this is the same bug? > Do "top" on your server and see if consolekit something occupies 100% of CPU. It could also be related to avahi-daemon. You can stop avahi daemon sudo /etc/init.d/avahi-daemon stop and then you can ssh again and see if it is faster. i -- ssh slow during logon, when ENTERING INTERACTIVE SESSION https://bugs.launchpad.net/bugs/300151 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 300151] Re: ssh slow during logon, when ENTERING INTERACTIVE SESSION
I do experience the same symptoms on Jaunty, i.e. 20s break in "Entering interactive session." while loging through ssh. Any idea if this is the same bug? -- ssh slow during logon, when ENTERING INTERACTIVE SESSION https://bugs.launchpad.net/bugs/300151 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 300151] Re: ssh slow during logon, when ENTERING INTERACTIVE SESSION
** Changed in: openssh (Ubuntu) Status: Invalid => Fix Released ** Changed in: openssh Status: Invalid => Fix Released ** Changed in: consolekit Status: Invalid => Fix Released -- ssh slow during logon, when ENTERING INTERACTIVE SESSION https://bugs.launchpad.net/bugs/300151 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 300151] Re: ssh slow during logon, when ENTERING INTERACTIVE SESSION
Good to hear! Thank you. -- ssh slow during logon, when ENTERING INTERACTIVE SESSION https://bugs.launchpad.net/bugs/300151 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 300151] Re: ssh slow during logon, when ENTERING INTERACTIVE SESSION
Yes, fixed in Jaunty. i On Sat, Jun 06, 2009 at 12:11:58AM -, Jeff Enns wrote: > I'm just checking to see if this issue has been resolved. The bug this > was related to was fixed in a later release. Let me know this is or is > not the case. Thank you! > > ** Changed in: consolekit >Status: New => Invalid > > ** Changed in: openssh >Status: New => Invalid > > ** Changed in: openssh (Ubuntu) >Status: New => Invalid > -- ssh slow during logon, when ENTERING INTERACTIVE SESSION https://bugs.launchpad.net/bugs/300151 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 300151] Re: ssh slow during logon, when ENTERING INTERACTIVE SESSION
I'm just checking to see if this issue has been resolved. The bug this was related to was fixed in a later release. Let me know this is or is not the case. Thank you! ** Changed in: consolekit Status: New => Invalid ** Changed in: openssh Status: New => Invalid ** Changed in: openssh (Ubuntu) Status: New => Invalid -- ssh slow during logon, when ENTERING INTERACTIVE SESSION https://bugs.launchpad.net/bugs/300151 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 300151] Re: ssh slow during logon, when ENTERING INTERACTIVE SESSION
On Mon, Nov 24, 2008 at 11:46:35PM -, James Westby wrote: > This sounds similar to bug 284229, is console-kit-daemon using a lot > of CPU on the system you are logging in to? Yep, quite a bit of cpu used by it -- ssh slow during logon, when ENTERING INTERACTIVE SESSION https://bugs.launchpad.net/bugs/300151 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 300151] Re: ssh slow during logon, when ENTERING INTERACTIVE SESSION
Hi, This sounds similar to bug 284229, is console-kit-daemon using a lot of CPU on the system you are logging in to? Thanks, James -- ssh slow during logon, when ENTERING INTERACTIVE SESSION https://bugs.launchpad.net/bugs/300151 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 300151] Re: ssh slow during logon, when ENTERING INTERACTIVE SESSION
** Also affects: consolekit Importance: Undecided Status: New -- ssh slow during logon, when ENTERING INTERACTIVE SESSION https://bugs.launchpad.net/bugs/300151 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 300151] Re: ssh slow during logon, when ENTERING INTERACTIVE SESSION
oops, bad paste, first ssh took 25 seconds. -- ssh slow during logon, when ENTERING INTERACTIVE SESSION https://bugs.launchpad.net/bugs/300151 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 300151] Re: ssh slow during logon, when ENTERING INTERACTIVE SESSION
I think that I have a track. Based on similar "su" problems, I decided to explore the possibility that it is the fault of "dbus". Based on results below, I believe it to be the case and I reassign this issue to "dbus". Restarting dbus fixes this issue. So I did: 1) time how long ssh to localhost takes: ==>time ssh localhost date Thu Nov 20 22:55:54 CST 2008 real0m0.248s user0m0.000s sys 0m0.004s 2) Restarted dbus as root: root:~ ###/etc/init.d/dbus restart * Stopping System Tools Backends system-tools-backends ...done. * Stopping bluetooth ...done. * Stopping Hardware abstraction layer hald ...done. * Stopping system message bus dbus ...done. * Starting system message bus dbus ...done. * Starting Hardware abstraction layer hald ...done. * Starting bluetooth ...done. * Starting System Tools Backends system-tools-backends ...done. (this killed gnome-panel and stuff also, no biggy) 3) tried ssh again: ==>time ssh localhost date Thu Nov 20 22:56:06 CST 2008 real0m0.268s user0m0.000s sys 0m0.008s So restarting dbus fixed this issue. ** Also affects: openssh Importance: Undecided Status: New -- ssh slow during logon, when ENTERING INTERACTIVE SESSION https://bugs.launchpad.net/bugs/300151 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs