LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-05-2005, 10:29 PM   #1
Oxagast
Member
 
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410

Rep: Reputation: 30
Gaim ate memory, couldn't kill processes.


Hi,
I just had to reboot my system because Gaim started eating alot of memory... about 400megs. It spilled out of my system memory and into swap and started eating that too. I'm not sure how long it went on, but I just noticed that alot of memory was being used and I was swapping alot, and went to check it out with ps and pstree and realized that it was Gaim, and that it had opened a couple hundread processes atleast. Gaim eating memroy isn't really the main issue though. What I noticed was that I was unable to kill all these processes that Gaim had aquired. I tried kill -9 on individual processes with no success, there were no errors from kill or killall when trying to kill the process, but when I looked again with ps the process would still be open. I looked around, and many people said that to kill some processes that get hung like this, you must kill the parent process, so I tracked it down, and realized that the Gaim processes's parent was init. Correct me if I'm wrong, but I can't kill the init process, can I? Or atleast, if I did, wouldn't it hang the entire system? I tried to change runlevels with init, but the system hung up. Could somebody please tell me how I could kill these 'unkillable' processes in the future if they appear right under init? I also had another problem... when ps would get to the Gaim processes in it's list, it would also hang, and I couldn't even control-c out of it, I would have to kill ps's parent process to get it to go away and free up my terminal. As I understand it, ps -aux will put it in a BSD form type list, but -e, being standard syntax, would not hang, and would list all the processes regardless, including the Gaim's. Is there any reason why ps would be hanging when in BSD syntax, but not standard?

Thanks,
Marshall

P.S. I'm running Gentoo linux with a custom compiled 2.6.12.5 linux kernel, and gcc 3.3.5 if that helps any.
 
Old 09-06-2005, 03:55 PM   #2
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 31
I would use a different version of Gaim, as it seems that version has very bad memory leaks. Is it a beta?
 
  


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
Safe to kill all user: 'nobody' processes? lagu2653 Linux - Security 4 11-06-2005 06:28 PM
how to use kill to kill a batch of processes with same name? dr_zayus69 Linux - Software 2 09-03-2005 06:35 PM
How can I kill all processes form a certain user ? Menestrel Linux - Newbie 6 07-05-2005 09:53 AM
HP-UX failing to kill some processes itumeleng Other *NIX 1 01-21-2005 08:14 PM
Linux ate half of my memory... StamfordRob Linux - Newbie 12 01-29-2002 03:23 AM

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

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