Re: 'ls' hangs FC6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rick Stevens wrote:
Paul Johnson wrote:
On Wed, Apr 9, 2008 at 1:26 PM, Mark Haney <mhaney@xxxxxxxxxxxxxxxx> wrote:
Does anyone have any ideas on why 'ls' would suddenly stop working? I've got
a FC6 box that acts as a SAN host and for the last week or so I can't ls
anything. It sits and does nothing. Everything else on the box works just
fine except for that.

 I've got no idea how to even go about debugging this.


I have seen this on systems that are using LDAP for authentication.
They don't just authenticate at start time, but they look up user
information every time.  Every single time any command is run, the
system goes off to check user identity on a server.  When there is
network slowdown or server slowdown, then ls is slow.  For us, the
short term fix was to install the nscd to cache the information so the
system does not constantly look on the server.  The long term fix was
to stop authenticating users with LDAP.

Or run "ls -ln" so you don't do user/group lookups and simply display
the numbers.

It must be something with the user/group lookups then because an ls-ln works just fine. I just can't figure out /why/ it's a problem now.



I think you said this stuff was on a SAN.  Have you verified that the
SAN isn't causing problems?  We had that issue on a cluster running old
LSI Logic drivers.  The SAN was getting freaked out because of command
overruns.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                       rps2@xxxxxxxx -
- Hosting Consulting, Inc.                                           -
-                                                                    -
-             To iterate is human, to recurse, divine.               -
----------------------------------------------------------------------



--
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux