LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-15-2004, 09:45 AM   #1
dominant
Member
 
Registered: Jan 2004
Posts: 409

Rep: Reputation: 30
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?
 
Old 03-15-2004, 10:06 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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.
 
Old 03-15-2004, 10:26 AM   #3
dominant
Member
 
Registered: Jan 2004
Posts: 409

Original Poster
Rep: Reputation: 30
no program consumes more than 3.0%, however, the systems is very slow
 
Old 03-15-2004, 10:43 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
So look how it is with processsor usage (the same command, 3rd column).
 
Old 03-15-2004, 10:54 AM   #5
dominant
Member
 
Registered: Jan 2004
Posts: 409

Original Poster
Rep: Reputation: 30
Everything is nearly 0.0 %, however ,...
 
Old 03-15-2004, 11:11 AM   #6
Redeye2
Member
 
Registered: Feb 2004
Posts: 489

Rep: Reputation: Disabled
Why don't you try another distro? maybe a live cd and check for results... could be a problem between you and suse.
 
Old 03-15-2004, 11:54 AM   #7
dominant
Member
 
Registered: Jan 2004
Posts: 409

Original Poster
Rep: Reputation: 30
Should i restart the the server? It's been up for 30 days.
 
Old 03-15-2004, 03:06 PM   #8
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Look for another thing...How many processes are printed (ps aux, last column)? Is there the same printed many times?
 
Old 03-15-2004, 07:48 PM   #9
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
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.
 
Old 03-16-2004, 02:51 AM   #10
dominant
Member
 
Registered: Jan 2004
Posts: 409

Original Poster
Rep: Reputation: 30
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)
 
Old 03-16-2004, 07:06 AM   #11
dominant
Member
 
Registered: Jan 2004
Posts: 409

Original Poster
Rep: Reputation: 30
any ideas?
 
Old 03-16-2004, 07:26 AM   #12
Pres
Member
 
Registered: Jun 2002
Location: Australia
Distribution: Slack 9.1
Posts: 232

Rep: Reputation: 30
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.
 
Old 03-16-2004, 07:33 AM   #13
dominant
Member
 
Registered: Jan 2004
Posts: 409

Original Poster
Rep: Reputation: 30
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?
 
Old 03-16-2004, 07:58 AM   #14
Pres
Member
 
Registered: Jun 2002
Location: Australia
Distribution: Slack 9.1
Posts: 232

Rep: Reputation: 30
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.
 
Old 03-16-2004, 08:46 AM   #15
dominant
Member
 
Registered: Jan 2004
Posts: 409

Original Poster
Rep: Reputation: 30
Is there any possibility of hacking?
 
  


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
Slow PATA Performance ch_music Linux - Hardware 3 07-20-2005 10:18 AM
scsi performance slow bond_e Linux - Hardware 3 12-17-2004 01:21 AM
Slow performance satinet Slackware 9 06-15-2004 04:54 PM
Very slow performance with RH8.0 cihans Linux - General 9 02-08-2003 01:44 AM
Slow SCSI hd performance Half_Elf Linux - General 2 12-25-2002 08:00 PM

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

All times are GMT -5. The time now is 01:22 AM.

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