Technology

OpenSuse 11.1, kdm_greet, slow ssh login

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
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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.