1833832 Members
2189 Online
110063 Solutions
New Discussion

Re: System slow

 
STANLY_1
Occasional Advisor

System slow

Hi all

I am facing this pblm in a J5000.One of the user, whose home directory is there in this exported filesystem ,complained that he is not able to login through his X-client program(it is taking about 5-7 minutes for him to login) but he is able to login through telnet,but that also is pretty slow.When checked in the system from which it is exported and found that also is working pretty slow,but swap
usage is only 37%.TOP is showing almost 100% idle.SAR also is showing the same.
Even an ls takes much time.WE have trimmed the history file.We observed that when .kshrc file is removed system is logging in much
faster what all things has to be checked now?.

SY
10 REPLIES 10
RAC_1
Honored Contributor

Re: System slow

are there any issues with this nfs directory. Can you put this users's history file on local dir? try this. and post.
There is no substitute to HARDWORK
Michael Tully
Honored Contributor

Re: System slow

The first place I would be checking is your network setup of:

DNS
lan card definitions

Does the DNS resolve locally first and then a DNS server? Have a look at /etc/nsswitch.conf and /etc/resolv.conf


Does your LAN card run as full or half duplex?
Your lan card will perform poorly at half duples if your network switch is running at full duplex.

# lanadmin -x 0

Is this the only user who is the problem.

Anyone for a Mutiny ?
Ravi_8
Honored Contributor

Re: System slow

hi,

could u re-activate this user.
never give up
RAC_1
Honored Contributor

Re: System slow

Can you also check name resolution-nsswitch.conf, if you are using DNS-check resolv.conf also.
There is no substitute to HARDWORK
RAC_1
Honored Contributor

Re: System slow

Can you also check name resolution-nsswitch.conf, if you are using DNS-check resolv.conf also.
There is no substitute to HARDWORK
STANLY_1
Occasional Advisor

Re: System slow

Hi

First thing ,the system is slow locally itself ,and in this case .sh_history is in local HDD only.

/etc/nsswitch.conf is having entries
files nis
and there is no /etc/resolv.conf.lanadmin shows the card is full duplex.

thx
Sy

Michael Tully
Honored Contributor

Re: System slow

What does the output of sar show for disk activity?
# sar 5 5 (look in the column marked 'avserve', this should show under 20)

Are there any filesystems that are showing as full?

Check /var/adm/syslog/syslog.log file for any errors and notifications

run 'dmesg' as root
Anyone for a Mutiny ?
STANLY_1
Occasional Advisor

Re: System slow

sorry for the delay

# sar 5 5
14:38:33 %usr %sys %wio %idle
14:38:38 0 0 0 99
14:38:43 0 0 0 100
14:38:48 0 0 0 99
14:38:53 0 0 0 99
14:38:58 0 0 0 100

Average 0 0 0 100

syslog also seems to be OK.
I am attaching the sysdef output for u r advices

thx
SY

Claudio Aguiar
Occasional Advisor

Re: System slow

hi

use sar -d 1 5 to take the metric avserv
pesquisar sempre
John Collier
Esteemed Contributor

Re: System slow

Stanly,

Just reading over your post and digesting all of the heavy-hitters bounce these things back and forth and I???m trying to apply this to situations I have been in personally.

You see, I have also had systems that slowed down to miserable levels and I also beat my head against the wall for hours (sometimes days) trying to come up with an answer. Unfortunately, this was when all I knew about Unix was how to search for a file and get to the directory that it was in. After that I had to ask other people what I should do and I didn???t have the benefit of this (or any other) forum at the time.

After running around for extended periods of time and chasing each suggestion to the best of my ability, someone asked me how long the box had been up without being reset. The answer to that was surpassing to us all (gotta love Unix in that respect).

At that point, nobody told me that you shouldn???t have to reboot a Unix box so that was my first response. You know what? It worked beautifully after that for yet another extended period of time. It wasn???t until I had gone through that process several times that someone told me I shouldn???t have to reboot Unix boxes.

Don???t tell anyone, but when all else fails I still will reset one that has been up too long and/or is slowing down beyond tolerable levels.

Oh, yeah. This is supposed to be a forum to help people find answers to problems, not a story post. Sorry.

It???s a shame that my story couldn???t be of assistance to you, but since it involves rebooting a Unix box to solve a problem I guess it won???t be a popular answer.

Thanks for reading anyway.


P.S. How long has it been since your box has been reset, anyway? Just currious???
"I expect to pass through this world but once. Any good, therefore, that I can do, or any kindness that I can show to any human being, let me do it now. Let me not defer or neglect it, for I shall not pass this way again." Stephen Krebbet, 1793-1855