Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Python using all of the cpu, so I removed it. anything I should be concerned about?

Python using all of the cpu, so I removed it. anything I should be concerned about?
Thread Tools
Nivag
Mac Elite
Join Date: Jul 2003
Location: Body in London, mind elsewhere
Status: Offline
Reply With Quote
Nov 15, 2011, 08:07 AM
 
As the title says, I removed it from Frameworks and now my Mac mini running Mac OS server 10.6.8 is Snappierâ„¢

Should I be worried? This is a test server setup ages ago but doesn't actually do anything serverish any more and is now plugged into my TV and used as media box.

The problem started after I ran the last update to Java and it brought the whole system to a grinding halt by running 1-3 processes.
I ran Disk Utility, Lion Cache Cleaner and even updated Python but still nothing would stop it hogging all of the resources. I couldn't be arsed to do a fresh install or re-run the combo update to see if that helped. As it's not a production machine wasn't looking to spend too much time on it.

It only gets used for streaming catchup TV from BBC iPlayer & 4OD, playing videos via VLC and running Transmission.

What's everyones thoughts?
     
nonhuman
Posting Junkie
Join Date: Jun 2001
Location: Baltimore, MD
Status: Offline
Reply With Quote
Nov 15, 2011, 11:18 AM
 
Python is a programming language, it does nothing unless something else is using it. Something on your system was built against Python and was doing something intensive. Whatever it was won't work anymore.

I'm fairly certain that nothing essential to OS X relies on Python, so as long as the things you need to run still work you should be fine.
     
Nivag  (op)
Mac Elite
Join Date: Jul 2003
Location: Body in London, mind elsewhere
Status: Offline
Reply With Quote
Nov 15, 2011, 12:37 PM
 
Cheers, the only thing I could find thats meant to be written with Python is BitTorrent client. Couldn't see if anything was.
     
larkost
Mac Elite
Join Date: Oct 1999
Location: San Jose, Ca
Status: Offline
Reply With Quote
Nov 16, 2011, 12:26 AM
 
I think you have just set yourself up for trouble. Rather than eliminating python (a very usefull language) you should have used the 'lsof' command to list the files open to the run-away process. Scripting languages always leave the script file open, so it is easy to figure out what file they are using.
     
besson3c
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Nov 16, 2011, 01:56 AM
 
The Apple Calendar Server was written in Python, maybe that was what was crapping out?
     
cgc
Professional Poster
Join Date: Mar 2003
Location: Down by the river
Status: Offline
Reply With Quote
Nov 16, 2011, 07:40 PM
 
Nisus Writer macros are written in Python.
     
   
Thread Tools
 
Forum Links
Forum 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 On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 06:29 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,