Operations hang for ~60 seconds after loopback device is initialized

Posted on 2003-03-03
Medium Priority
Last Modified: 2013-12-05
The following operations take a long time to execute after I did a "ifconfig lo":

- ps -ua, ps -ux (but ps -u and ps -ax are both fine)
- logging in (delay after I typed user, password [enter])
- Running "skill" (kill is fine)
- ls -l (when there is an unkown numerical group or owner to be listed)

I'm using Linux 2.4.20 and I just tried upgrading to the latest net-tools 1.60. I'm running totally off a CD where my /usr tree is entirely read only. (The rest of the system has been loaded as a RAM disk). This is my own Linux distribution that I raised from the sources myself.

I'm doing this ifconfig myself manually at the command prompt. The system by itself initializes the bare minimum multi-user environment. (No networking whatsoever).
The lo device pings just fine and shows up as UP RUNNING in ifconfig after I brought it up. If bring it down (ifconfig lo down), the problem remains: a reboot is required for these operations to be quick again.

What could the cause to this problem be?
Question by:jerstlouis
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 8063073
Have you also done a "route add -net netmask lo" ?

Bob Gunzel

Author Comment

ID: 8063272
No that doesn't matter.
The problem is that it tries to resolve groups and stuff
according to the rules in /etc/nsswitch.conf.
However, I don't have portmap running right now. So it stalls trying to connect to portmap. Apparently I heard this is a problem due to the old version of my procps and fileutils tools and the 2.4 kernels. Commenting out the "nis" everywhere in /etc/nsswitch.conf did fix the problem. Right now I'm trying to rebuild a new version of procps and fileutils, but procps is giving me trouble with my current libc so I'm trying to install the new libc which in turn didn't like my version of gettext which I finally got installed =) Hopefully this will fix my problem...

Expert Comment

ID: 9077743
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Accepted Solution

modulo earned 0 total points
ID: 13223841
PAQed with points refunded (50)

Community Support Moderator

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question