Operating System - HP-UX
1834632 Members
3142 Online
110069 Solutions
New Discussion

Re: commands take a long time to come back

 
GREGORY JONES_3
Occasional Advisor

commands take a long time to come back

command prompt takes a long time to come back when they login to their workstations. their home directory is on my server. certain commands that i run, like top, showmount take a long time ( a few minutes for top) to come back.

swapinfo -t
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1048576 0 1048576 0% 0 - 1 /dev/vg00/lvol2
reserve - 40820 -40820
memory 181908 162876 19032 90%
total 1230484 203696 1026788 17% - 0 -
sar shows that cpu 99-100% idle
w shows load avg. < 1,

any ideas?
5 REPLIES 5
Stephen Keane
Honored Contributor

Re: commands take a long time to come back

Are you using NFS at all?
harry d brown jr
Honored Contributor

Re: commands take a long time to come back


probably DNS issues.

post these files:

/etc/nsswitch.conf
/etc/resolv.conf

post the output of

what `which named`

Do a nslookup of a client.

live free or die
harry d brown jr
Live Free or Die
GREGORY JONES_3
Occasional Advisor

Re: commands take a long time to come back

i am using nfs. and nis.

/etc/nsswitch.conf
hosts: dns [TRYAGAIN=continue] files[TRYAGAIN=continue] nis
services: nis files
protocols: nis files
networks: nis files
rpc: nis files
netgroup: nis files
automount: nis files
passwd: compat


Slawomir Gora
Honored Contributor

Re: commands take a long time to come back

Hi,

replace line
hosts: dns [TRYAGAIN=continue] files[TRYAGAIN=continue] nis

to
hosts: files [TRYAGAIN=continue] dns [TRYAGAIN=continue] nis
Stephen Keane
Honored Contributor

Re: commands take a long time to come back

Also run nfsstat to see if you are getting a load of NFS errors.