The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Cut too slow pukars4u Shell Programming and Scripting 3 05-11-2008 07:04 AM
scp is slow tomstone_98 UNIX for Dummies Questions & Answers 1 07-26-2007 09:33 AM
Slow FTP & SMB rockboles UNIX for Dummies Questions & Answers 4 12-11-2005 07:52 PM
CPU slow down Henrik UNIX for Dummies Questions & Answers 4 11-21-2002 05:26 AM
slow ftp suntan UNIX for Dummies Questions & Answers 3 07-16-2001 09:42 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-20-2004
keelba keelba is offline
Registered User
  
 

Join Date: Apr 2002
Location: Dallas, TX
Posts: 57
ls -l over NFS slow

I have an HP-UX server with a Network Appliance Filer attached over Gigabit Ethernet. I am noticing very slow response time when using "ls -l" on one directory on one of the several NFS mounted filesystems. The "ls" command by itself does not seem to be a problem. Typically I get a response within 30 seconds on this directory but sometimes it has taken as much as 12 minutes to respond!! There are less than 50 files in this directory and it is only nested a few directories deep. I have not noticed this with any directories in any of the other filesystems mounted in the same manner. All other directories will give me a file listing in less than 1 second. If I use the command twice in succession then the second time responds very quickly. I am assuming this is coming from cache.

I even tried mounting the same filesystem over NFS to another similar system and I do not experience this problem.

We do seem to be experiencing some sort of slow down in our database and I am not sure if it is related to this particular symptom or not.

I was not able to find anything on HP's knowledgebase nor Netapp's. Has anyone else experienced anything like this?
  #2 (permalink)  
Old 01-20-2004
norsk hedensk norsk hedensk is offline Forum Advisor  
Registered User
  
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
i have, though possibly not related to your problem.

i have a webserver which i run and have installed a perl module to stream mp3s. so all my mp3s are on my computer upstairs in my room. instead of moving everything, i set up an NFS export from my desktop computer. now, lazy person that i am i just dont feel like giving my desktop a static IP. when the lease on the ip from my router expires and i get a new, the NFS mount on the server goes stale.

when i try to do a directory listing inside the parent directory of the NFS mount, the shell locks up.

so have you checked to see if the NFS service is still running on the server-end ?

ps- my fix for the dynamic ip problem:

generally the ip address on my desktop only changes from 192.168.1.102 to 192.168.1.103 and back.

so, i have an NFS mount from BOTH ip address to the same place on the NFS client. i didnt know that would work and i actually dont know WHY that works...but it does
  #3 (permalink)  
Old 01-21-2004
jsilva's Avatar
jsilva jsilva is offline
Registered User
  
 

Join Date: Apr 2003
Posts: 169
Re: ls -l over NFS slow

Quote:
Originally posted by keelba
Has anyone else experienced anything like this?
Yes... there're many causes for slow NFS performance...
Are your nameservice working well on your client ? Can it resolve hostnames with no problem ? Are you using the hostname or the IP address to mount the share ? Try to use the IP address...
Are the machines on the same network ? Check for errors on both the server and the client... use a tool like tcpdump to check for NFS traffic...
  #4 (permalink)  
Old 01-21-2004
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2003
Location: Florida
Posts: 1,910
also check if the directory is automounted. This can slow things
down quite a bit the first time you access the directory.

- Finnbarr
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:17 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0