Quantcast
Channel: Pete Ware » opensuse
Viewing all articles
Browse latest Browse all 4

OpenSuse 11.1, kdm_greet, slow ssh login

$
0
0

I was suffering from slow ssh logins — it’d take 20 seconds to get a login prompt. I noticed this process, kdm_greet, running. Google found a posting message that said the problem is kdm_greet is having to examine a bunch of fonts:

[kdm_greet takes a long time to run due to out-of-date font-cache](http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326625)

It didn’t seem reasonable but I went ahead and ran:

fc-cache -f

Login was so fast I thought at first nothing happened.

Well, it started to get slow again. I monitored what was happening and it looks like sshd was taking a long time (30 seconds). That made me think of reverse DNS lookups. I checked

/etc/resolve.conf

and it had an out-of-date nameserver entry. Removed it and things are fast again.


Viewing all articles
Browse latest Browse all 4

Trending Articles