LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-15-2004, 03:00 PM   #1
Moebius
Member
 
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Rep: Reputation: 30
memory leak (I think) paralyses my system - how to diagnose?


I have no idea what program is causing it or what starts it, but it's happened a few times now where I'll be working and all the sudden my memory usage shoots up to 100% and my hard disk starts reading like crazy and I can't do anything on my system because its so slow. Like it takes a few minutes just to open a menu and trying to open a terminal or system monitor is pointless. Even pressing Ctrl + Alt + Backspace takes like 5 minutes to get out of X. The only sollution is to hit the reset button on my computer or wait the 5 minutes to for Ctrl + Alt + Backspace.

How can I figure out what program is causing this? It's only happened a few times and so far I've found no pattern. Does this sound like a memory leak? Why doesn't the kernel have some kind of protection against this?
 
Old 12-15-2004, 03:30 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Open a console and run:

$ top

It will give a continuously updated readout of running processes and the % of system memory they use with the highest on the top of the list. That should help you identify the runaway process causing the problem.
 
Old 12-15-2004, 03:44 PM   #3
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Rep: Reputation: 30
Know that, unless your swap file is being destroyed (completely used) it is not a mem leak.

*nix systems manage mem much different than dos based.
 
  


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
memory leak mfitzpat Linux - Newbie 1 09-24-2004 02:58 PM
possible memory leak?? matt80 Linux - General 2 07-01-2004 11:07 PM
Memory Leak don_dimo Linux - General 7 03-06-2004 06:51 PM
Memory Leak when using memory debugging C program on SuSE SLES8 babalina Linux - Distributions 0 10-06-2003 09:39 AM
Memory Leak FredrikN Linux - General 4 09-17-2002 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:21 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