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. |
|
 |
|
03-15-2004, 09:45 AM
|
#1
|
|
Member
Registered: Jan 2004
Posts: 409
Rep:
|
slow performance
I have a SuSE 9 Pro. And i noticed that suddenly the performance got slower.
It consumes the 70% of physical RAM (using the application top).
What can i do now?
|
|
|
|
03-15-2004, 10:06 AM
|
#2
|
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,471
Rep: 
|
You need to find out what's using the memory and see if you need all the programs (maybe there are services started at boot and you don't need them?). To see the amount of memory used by all applications use
ps aux
command. Memory usage (in %) is in the 4th column. Check for most memory-hungry programs. If you're unsure if you can turn them off, post their names.
|
|
|
|
03-15-2004, 10:26 AM
|
#3
|
|
Member
Registered: Jan 2004
Posts: 409
Original Poster
Rep:
|
no program consumes more than 3.0%, however, the systems is very slow 
|
|
|
|
03-15-2004, 10:43 AM
|
#4
|
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,471
Rep: 
|
So look how it is with processsor usage (the same command, 3rd column).
|
|
|
|
03-15-2004, 10:54 AM
|
#5
|
|
Member
Registered: Jan 2004
Posts: 409
Original Poster
Rep:
|
Everything is nearly 0.0 %, however ,... 
|
|
|
|
03-15-2004, 11:11 AM
|
#6
|
|
Member
Registered: Feb 2004
Location: San José, Costa Rica
Distribution: Ubuntu
Posts: 489
Rep:
|
Why don't you try another distro? maybe a live cd and check for results... could be a problem between you and suse.
|
|
|
|
03-15-2004, 11:54 AM
|
#7
|
|
Member
Registered: Jan 2004
Posts: 409
Original Poster
Rep:
|
Should i restart the the server? It's been up for 30 days.
|
|
|
|
03-15-2004, 03:06 PM
|
#8
|
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,471
Rep: 
|
Look for another thing...How many processes are printed (ps aux, last column)? Is there the same printed many times?
|
|
|
|
03-15-2004, 07:48 PM
|
#9
|
|
LQ Veteran
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642
Rep:
|
Also try running top, which sorts the processes in order of most CPU usage to least. Sometimes it's easy to miss a CPU-hog in a long list, but with top, the biggest process will appear first, making it hard to miss.
Personally I do not think it would be necessary to switch distros. I would be willing to bet that you just have a runaway process eating those CPU cycles. -- J.W.
|
|
|
|
03-16-2004, 02:51 AM
|
#10
|
|
Member
Registered: Jan 2004
Posts: 409
Original Poster
Rep:
|
httpd and mysqld are multiple printed.
10 people/minute access my web server.
Is that a reason for that performance.
my physical ram is 512 MB (swap 1.5 GB)
|
|
|
|
03-16-2004, 07:06 AM
|
#11
|
|
Member
Registered: Jan 2004
Posts: 409
Original Poster
Rep:
|
any ideas?
|
|
|
|
03-16-2004, 07:26 AM
|
#12
|
|
Member
Registered: Jun 2002
Location: Australia
Distribution: Slack 9.1
Posts: 232
Rep:
|
Perhaps the problem is the disk access side of things. Could be, if it's a mysql/webserver.
Try a "hdparm -Tt /dev/hda" (using your disk, not necessarily hda) for a start.
Then, if smart is turned on in your bios, try "smartd -q onecheck" to see if the disk is getting a bit hard worn.
Who knows, might give a clue.
|
|
|
|
03-16-2004, 07:33 AM
|
#13
|
|
Member
Registered: Jan 2004
Posts: 409
Original Poster
Rep:
|
I am afraid to touch the hard disk through linux because i am not as experienced as you.
Do you believe that hard disk is slow?
|
|
|
|
03-16-2004, 07:58 AM
|
#14
|
|
Member
Registered: Jun 2002
Location: Australia
Distribution: Slack 9.1
Posts: 232
Rep:
|
No, just offering a possibility. The above commands won't hurt your disk; check the man pages for "hdparm" and "smartd". Run them, then think about whether or not the disk could be a problem. Maybe the way your database is set up is causing seek time problems ? I don't know, just some things to consider, since you seem to have plenty of cpu and memory to spare.
It's usual for httpd and mysqld to have multiple instances, though, helps out when faced with multiple requests I believe.
Last edited by Pres; 03-16-2004 at 08:01 AM.
|
|
|
|
03-16-2004, 08:46 AM
|
#15
|
|
Member
Registered: Jan 2004
Posts: 409
Original Poster
Rep:
|
Is there any possibility of hacking?
|
|
|
|
| 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 09:12 AM.
|
|
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
|
|