LinuxQuestions.org
Visit Jeremy's Blog.
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 04-28-2009, 07:21 AM   #1
lakshmi4linux
LQ Newbie
 
Registered: Mar 2009
Posts: 26

Rep: Reputation: 15
Debian Machine is drastically slow


Hi,

I'm using Amazon Ec2 machine debian etch flavour.

The machine what i'm using is very slow,if i type some characters it take lot of time to appear on the screen.

The space used is only 29% under / that is out of 10 Gb only 2.6Gb alone get utilised.

Please suggest wat may be the reason for that.

Thanks in advance
 
Old 04-28-2009, 07:26 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
take a look at the output of top to see what is running, and to see how much memory is used.
 
Old 04-28-2009, 07:30 AM   #3
lakshmi4linux
LQ Newbie
 
Registered: Mar 2009
Posts: 26

Original Poster
Rep: Reputation: 15
Hi,

Thanks for your quick response sir,

output of top command is here

Cpu(s): 21.3%us, 22.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 56.7%st
Mem: 1747764k total, 1712224k used, 35540k free, 168644k buffers
Swap: 917496k total, 644k used, 916852k free, 524612k cached

Please tell wat may be the reason for such drastic slow behaviour of the machine


Thanks in Advance!
 
Old 04-28-2009, 07:36 AM   #4
i o n
LQ Newbie
 
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
Please delete this message

Last edited by i o n; 04-28-2009 at 07:39 AM.
 
Old 04-28-2009, 08:41 AM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
So when you ran top. and sorted by processor utilization (SHIFT + P).. what processes were using so much CPU time ?
 
Old 04-28-2009, 09:30 AM   #6
lakshmi4linux
LQ Newbie
 
Registered: Mar 2009
Posts: 26

Original Poster
Rep: Reputation: 15
Hi,

I ran my top command and give (shift+p). It shows java(jboss) process consumes 40.3% of CPU usage. Rest of the things are just 0.3,0.2,0.0 percentage of CPU utilisation(mysql,apache). Jboss is alone consuming a lot. Is 40% utilisation of CPU make the things worse.

Thanks in Advance!
 
Old 04-28-2009, 11:31 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Java and linux don't mix well :-)
What happens if you disable jboss ?
 
Old 04-28-2009, 02:04 PM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
/etc/init.d/jboss stop

So are you developing some Java web application on your Machine that you have jboss installed ?
 
Old 04-29-2009, 01:46 AM   #9
lakshmi4linux
LQ Newbie
 
Registered: Mar 2009
Posts: 26

Original Poster
Rep: Reputation: 15
Hi,

Thanks a lot.

Forget to say i'm using debian machine for devloping java application and jboss is running.

While i shutdown the jboss the CPU utilisation get reduced, But after that also the machine behaves in a simillar fashion only(takes huge amount of time to display even if i type ls)

Thanks in Advance!
 
Old 04-29-2009, 04:22 AM   #10
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
is this a console access or a network access of the debian machine ?

1. if network access, can you do a tcpdump (ignoring the current logged host - i.e tcpdump host not <ip address of the gateway> )
and check if there is huge traffic. This can also slow down the link and hence the machine may be less responsive.
 
Old 04-29-2009, 08:44 AM   #11
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
With jboss shutdown, is there still something eating CPU time ?

Quote:
Small Instance
(Default) 1.7 GB of memory,
1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit),
160 GB of instance storage,
32-bit platform

I wonder what 1 EC2 Computing unit is equivalent to..

I just don't know. maybe that is good performance for their cloud system.. ???

There is a forum over at amazon for the EC2 stuff. maybe someone more familiar with the cloud would have some insight ?

Last edited by farslayer; 04-29-2009 at 08:48 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
my pc performace decreased drastically surya_prakash Linux - Newbie 6 11-14-2008 10:37 AM
Printing from Debian machine to Win machine, What I did wrong. sarajevo Debian 8 05-01-2008 12:08 AM
LXer: Drastically Speed up Linux with Preload LXer Syndicated Linux News 2 02-24-2008 05:58 PM
Why is my machine so slow? Hacker X Linux - Software 12 09-13-2006 03:02 AM
Computer drastically SLOW since running Linux wardialer Linux - Newbie 1 09-05-2004 07:42 PM


All times are GMT -5. The time now is 06:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration