LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-11-2003, 05:55 PM   #1
pdohman
LQ Newbie
 
Registered: Apr 2003
Posts: 22

Rep: Reputation: 15
Red Hat 8.0 system becomes sluggish


After a few days of up time my redhat 8.0 system running the latest kernel becomes very sluggish. The screen redraws very slowly the mouse is choppy programs take a long time to launch and sometimes do perform correctly. The only program that I have open continuously is XCHAT 2.01 running a python script. I monitor top regularly which indicates 90-99 percent CPU idle throughout the day my memory is almost entirely used however I notice a lot of disk usage when accessing programs as if virtual memory is taking a hit. Is there a way to increase the efficiency of the memory without rebooting? Or any other ways to increase the performance?
Thank you!
 
Old 11-12-2003, 04:18 AM   #2
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Try finding out which process(es) are using up your memory. Sort processes in top by memory usage by pressing 'M'.

Martin
 
Old 11-12-2003, 12:12 PM   #3
pdohman
LQ Newbie
 
Registered: Apr 2003
Posts: 22

Original Poster
Rep: Reputation: 15
I have located at least one memory leak in xchat I must have another as I shutdown the app last night and awoke to nearly full memory usage. What is a good way to track leaks down?
 
Old 11-12-2003, 03:24 PM   #4
pdohman
LQ Newbie
 
Registered: Apr 2003
Posts: 22

Original Poster
Rep: Reputation: 15
running free -tm on my system while idle gives these results:

total used free shared buffers cached
Mem: 374 300 74 0 22 187
-/+ buffers/cache: 90 284
Swap: 760 0 760
Total: 1135 300 834

I understand that the linux kernel uses most of the physical memory for ram buffers and cache so maybe these figures are ok. I will investigate the memory leak in xchat as that was probably the source of my sluggishness
 
Old 11-13-2003, 03:10 AM   #5
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Try running xchat through valgrind:
http://valgrind.kde.org/

Martin
 
  


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
How to set up a Red Hat 9.0 system as a bridge qqbeng Linux - Networking 1 04-11-2005 11:40 PM
confused by my new red hat 9 system dave bean Red Hat 3 03-04-2005 07:29 AM
help me out how to install win xp on red hat system vipul_it Linux - Hardware 1 10-01-2004 08:59 AM
Red Hat 7 System Requirements dustin_wielenga Red Hat 9 06-30-2004 11:12 PM
Red Hat 9 seams to run sluggish and... LinuxBAH Linux - General 2 06-26-2003 01:03 AM


All times are GMT -5. The time now is 04:11 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration