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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-23-2008, 06:46 AM
|
#1
|
|
LQ Newbie
Registered: Jul 2008
Location: mumbai
Posts: 4
Rep:
|
What are the basic steps to troubleshoot slowness of a linux system
Hi, I am not very much familiar with linux. I know installation, basic services & configuration, but not done the troubleshooting part. Can someone tell me the basic steps to troubleshoot the slowness of a linux system? I tried a few commands like top, vmstat, iostat, sysstat etc. Is there anything else that i shall look into? Please advise.
|
|
|
|
07-23-2008, 07:43 AM
|
#2
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
If it is only a web oriented program that seems slow to start up, one thing to consider is to disable ipv6. Sometimes a dns lookup is tried using it resulting in a delay until it times out.
|
|
|
|
07-23-2008, 07:47 AM
|
#3
|
|
Moderator
Registered: May 2001
Posts: 24,811
|
Please fill in your user info like distribution and such.
In relation to what's said already, "slowness" is not easy to deal with if it's not expressed in values (in other words: perception of speed). In my opinion the best way to start is to set up baseline data like you did with your SAR tools (or Atop or Dstat or Collectl) running for at least 24 hours. This way, if you tweaked things, you'll have objective numbers to compare against. List your hardware, distribution, kernel, any sysctls or other tweaks you already tried (for most of that I still use ServDoc. OK, it's old but it doesn't need to be installed and can output text, HTML, etc.). Data and information together can also help when comparing with other peoples benchmarks, say if you expected higher disk throughput, or directly pinpoint bottlenecks like low RAM, swap usage, wrong scheduler, et cetera. You might also want to search LQ for threads about performance tuning or performance issues, we've got quite some threads. Any questions, just ask.
|
|
|
|
07-23-2008, 07:50 AM
|
#4
|
|
Senior Member
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 14.0
Posts: 4,618
|
Can you be more specific about what is slow? Disk I/O , booting, video, communication??? It is difficult to help with very little information.
|
|
|
|
07-23-2008, 10:23 AM
|
#5
|
|
Member
Registered: Sep 2006
Location: Orange County, NY
Distribution: Ubuntu, Solaris, Android
Posts: 327
Rep:
|
Just in general i like to remove all unnecessary services, most people tend to think oh yeah thats great at the time of install and never use it = )
Regards
JKZfixme
|
|
|
|
07-23-2008, 12:49 PM
|
#6
|
|
Member
Registered: Jun 2008
Location: Toronto, Canada
Distribution: Mandriva, RHEL
Posts: 122
Rep:
|
Basically, you're on the right way. You need to find the process(-es) which consumes a lot of resource such as memory or CPU or disk.
If there are no "crocodiles", try to switch off some unused services and applettes.
Another way is to rebuild the kernel, but it's already the topic of the book, but not the forum post 
|
|
|
|
07-25-2008, 05:21 PM
|
#7
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Also, look in your logs. A hardware problem such as a hard drive going bad could cause slowdowns as well.
|
|
|
|
| Thread Tools |
Search 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
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:05 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|