Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] High cpu usage python
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: High cpu usage python
2nd Apr, 2013, 09:53 AM
Post: #1
Richdotward Offline
Registered
Posts: 33
Joined: Jan 2013
Reputation: 4
High cpu usage python
Sorry but another problem.

Just rebooted a few times to change my gpu memory, ive noticed now that my cpu usage is a lot higher than before. Changed back to 128 and still high cpu.

Guessing its nothing to do with the gpu memory changes just that i spotted it at the same time.

Ssh into my headless system and with a "top" command i have 90% cpu usage marked as xbian - python.

Normally cpu is around 5%. Only thing ive added in the past 2 days is php to lighttpd and mysql server, and installed a few php scripts to my website (noone but me can see them)

I know mysql is a memory / cpu hog but thought it would only effect me when actually being used ? Just installed it to have a play with, dont really need it.

Any way to work out what the python app actually is?

Thanks

Rich
Find all posts by this user
Quote this message in a reply
2nd Apr, 2013, 05:09 PM
Post: #2
namtih Offline
Tester
Posts: 269
Joined: Dec 2012
Reputation: 28
RE: High cpu usage python
As you don't use XBMC, did you disable the automatic XBMC start?
To see if it's XBMC, you could try...
Terminal

sudo /etc/init.d/xbmc stop
Find all posts by this user
Quote this message in a reply
2nd Apr, 2013, 10:44 PM
Post: #3
Richdotward Offline
Registered
Posts: 33
Joined: Jan 2013
Reputation: 4
Re: High cpu usage python
Yeah always turn that of as soon as i install. Use my ps3 for watching TV with minidlna.

Worked out it was headphones the python app. Did "top" to get the pid id of the high usage then used the "kill" command on it and looked to see what was turned off. Removed headphones from etc/init.d and CPU back to 5% after a reboot.

Never really used that anyhow, pass what caused it though.

Thanks for taking the time to read.

Rich

Yeah always turn that of as soon as i install. Use my ps3 for watching TV with minidlna.

Worked out it was headphones the python app. Did "top" to get the pid id of the high usage then used the "kill" command on it and looked to see what was turned off. Removed headphones from etc/init.d and CPU back to 5% after a reboot.

Never really used that anyhow, pass what caused it though.

Thanks for taking the time to read.

Rich
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 11th May, 2025, 06:17 AM Powered By MyBB, © 2002-2025 MyBB Group.