LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-10-2012, 05:02 AM   #1
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
linux box is too slow


I have recently installed Oracle Enterprise Linux 5 on one of my VMs
and surprisingly this machine is giving very slow response.

I have to wait for around 4-5 seconds after entering any command.
Even if I try to login through putty it takes 1-2 min in the procedure of simply logging in.
The machine hangs frequently as many times I have to restart the machine to make it work properly.
It also takes long time to come up as compared to other linux machines.

Can here someone guide me, what am I suppose to check or do to speed up my system?

here are outputs of some commands

Code:
#top
(shift+m)
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 3422 root      18   0 39728  21m  10m S  0.0  0.5   0:01.18 puplet
 3400 root      18   0  109m  15m  11m S  0.0  0.4   0:01.76 nautilus
 3506 gdm       15   0 30740  14m 6944 S  0.0  0.4   0:00.45 gdmgreeter
 7534 root      15   0 41520  12m 8468 S  0.0  0.3   0:01.58 gnome-terminal
 3398 root      15   0 74792  11m 8812 S  0.0  0.3   0:01.25 gnome-panel
 3749 root      15   0 74928  10m 8400 S  0.0  0.3   0:00.25 mixer_applet2
 2978 root      15   0 19212  10m 4672 S  0.0  0.3   0:05.03 Xvnc
 3432 root      15   0  113m  10m 8984 S  0.0  0.3   0:00.37 nm-applet
 3374 root      34  19 25968  10m 2148 S  0.0  0.3   0:01.10 yum-updatesd
 3509 root      15   0 74732  10m 7400 S  0.0  0.3   0:00.96 wnck-applet
 3747 root      18   0 28920 9.9m 8020 S  0.0  0.2   0:01.35 clock-applet
 3511 root      15   0  101m 8424 6892 S  0.0  0.2   0:00.15 trashapplet
 3386 root      15   0 17712 8180 5948 S  0.0  0.2   0:00.80 metacity
 3409 root      17   0 44820 7944 6648 S  0.0  0.2   0:00.20 eggcups
 3221 root      18   0 33764 7664 6380 S  0.0  0.2   0:00.32 gnome-settings-
 3745 root      19   0 22932 7520 6376 S  0.0  0.2   0:00.10 notification-ar
 3492 root      15   0 71912 6192 4692 S  0.0  0.2   0:02.08 gnome-power-man
Code:
#top
shift+p
 7867 root      15   0  2428 1052  808 R  1.0  0.0   0:00.51 top
    1 root      15   0  2160  656  564 S  0.0  0.0   0:02.02 init
    2 root      RT  -5     0    0    0 S  0.0  0.0   0:00.01 migration/0
    3 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
    4 root      RT  -5     0    0    0 S  0.0  0.0   0:00.02 migration/1
    5 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/1
    6 root      10  -5     0    0    0 S  0.0  0.0   0:00.11 events/0
    7 root      10  -5     0    0    0 S  0.0  0.0   0:00.08 events/1
    8 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 khelper
    9 root      17  -5     0    0    0 S  0.0  0.0   0:00.00 kthread
   13 root      11  -5     0    0    0 S  0.0  0.0   0:00.01 kblockd/0
   14 root      10  -5     0    0    0 S  0.0  0.0   0:00.01 kblockd/1
   15 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid
  175 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 cqueue/0
  176 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 cqueue/1
  179 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 khubd
  181 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kseriod
I downloaded additional tool to look out for cpu and network activity
Code:
#collectl
#<--------CPU--------><----------Disks-----------><----------Network---------->
#cpu sys inter  ctxsw KBRead  Reads KBWrit Writes   KBIn  PktIn  KBOut  PktOut
   1   0   646     74      0      0      0      0      0      2      0       2
   1   1   951    148      0      0    216      3      0      6      1       6
   0   0   991    108      0      0      0      0      0      3      0       5
   0   0   997     97      0      0      0      0      0      3      0       3
   0   0   980    104      0      0      0      0      0      4      0       5
   0   0  1005    125      0      0      0      0      0      7      0       5
   0   0   977     96      0      0      0      0      0      2      0       3
Code:
#free -m
             total       used       free     shared    buffers     cached
Mem:          3986        690       3296          0        180        360
-/+ buffers/cache:        149       3837
Swap:         4071          0       4071

Last edited by deep27ak; 01-10-2012 at 05:04 AM.
 
Old 01-10-2012, 03:49 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
My guess is the host is the issue not the vm client.
 
Old 01-10-2012, 05:04 PM   #3
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Rep: Reputation: 119Reputation: 119
Yes who ever is hosting it may have a oversold node or just badly configured. You may want to consult the host. If you are the host then you may want to check the host node out and see if thats the issue.
 
Old 01-10-2012, 10:14 PM   #4
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195

Original Poster
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by jmc1987 View Post
Yes who ever is hosting it may have a oversold node or just badly configured. You may want to consult the host. If you are the host then you may want to check the host node out and see if thats the issue.
Quote:
Originally Posted by jefro View Post
My guess is the host is the issue not the vm client.

Thank you for your replies.

I run this node from my Windows 7 machine where I don't find any such trouble in any other VMs. This is the one where I get confused.

As far as host is concerned all the employees who use this VM face the same problem.
Is there any thing else which I can do to look out for some related reasons.

What are the essential places where I should look?
Can I kill the gnome-panel or other gnome process? will that affect my GUI?
As I tried killing the gnome-panel once but it automatically starts again

How to check all the services which gets on while booting? They also might be the reason?
I can't go on and check individually every service or switch off the services one by one.
Is there any way to look out for background running services and turn them off all at once?
 
Old 01-11-2012, 12:03 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Then reloads would be my next choice. Check of hardware maybe at same time.

Memtest never hurts (well it did one time on a dell server).
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Why does my connection to my linux box slow to a crawl? rbonafied Linux - Networking 6 05-31-2011 08:57 PM
My Linux Box is running slow??? ajeetraina Linux - Server 1 07-27-2007 04:57 AM
Access Linux box using windows very slow niloshima Linux - Networking 1 12-01-2005 01:46 AM
Troubleshooting Slow Transfer Speed Between Linux Box and Windows Box timswim78 Linux - General 1 10-23-2005 11:45 AM
Why my linux box is very slow? rahul_kulkarni Linux - Software 9 03-22-2005 06:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration