LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-22-2005, 10:34 AM   #1
riluve
Member
 
Registered: Nov 2004
Distribution: CentOS-4
Posts: 142

Rep: Reputation: 15
Python eating my memory


I have two systems set up basically identically with RHE v3.

I happen to look at resources and I notice one has used up nearly 1G of memory while the other is basicaly holding the same load using only 200M.

So i find the culprit - a process named Python has been involked twice, one instance is using 700M and another is using 50M. On the twin system, there is no Python process running.

So, I shut down the system and restart - bamm Python comes right back up at a little less than 20M.

Its running under root.

Is this a shared library for Python? How could it get so freaking big whatever it is?

Any ideas?
 
Old 03-22-2005, 10:59 AM   #2
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Rep: Reputation: 31
Python is a programming/scripting language. I think it shouldn't be running all the time, unless you have a script that is doing something periodically... I know Gentoo uses python a lot, but I don't think it uses it for daemons.

Have you tried to stop the process instead of rebooting? If you have the process id (which you can get by using "ps"), you can use "kill <PID>" to stop it.

If you have KDE you can also try to run "ksysv" and check which services are running by default in the system. You could compare with the other computer...

Well. I'm not an expert, but maybe these things could help you.

Good luck!
 
  


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
something's eating memory and i don't know what trancephorm Linux - Newbie 3 03-11-2005 02:39 PM
Something is eating my memory benne Linux - Software 15 11-25-2004 06:02 AM
HELP ... Linux is eating my memory!!! don_dimo Linux - General 4 10-21-2003 11:23 PM
Linux is eating to much memory!!! alwin Linux - General 9 01-13-2003 04:50 PM
How do I see what's eating all my memory? thomas.nichols Linux - General 1 09-05-2001 09:19 AM


All times are GMT -5. The time now is 01:28 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration