luis4god / darkice

Automatically exported from code.google.com/p/darkice
0 stars 0 forks source link

darkice 0.19-1ubuntu3 after some time begins to use much processor time #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run it in ubuntu in desktop user
2. wait several days, and additionally maybe needed: switch users, make swap 
file to increase
3. total processor usage becomes 100%, system monitor shows that darkice uses 
near 40%

What is the expected output? What do you see instead?
should use little processor time, like 5%

What version of the product are you using? On what operating system?
0.19-1ubuntu3, ubuntu 9.10

Please provide any additional information below.
icecast server, darkice runs from icecast's etc/init.d file, but runs with 
desktop user . darkice uses pulse audio. [manually] running killal darkice , 
then darkice fixes problem

Original issue reported on code.google.com by qdi...@gmail.com on 10 Sep 2010 at 6:12

GoogleCodeExporter commented 9 years ago
darkice gets stream from line-in. here are 2 sound-cards.

Original comment by qdi...@gmail.com on 10 Sep 2010 at 6:37

GoogleCodeExporter commented 9 years ago
What codec are you using?

Original comment by rafael2k...@gmail.com on 17 Sep 2010 at 8:40

GoogleCodeExporter commented 9 years ago
libmp3lame0 3.98.2+debian-0ubuntu2

Original comment by qdi...@gmail.com on 22 Oct 2010 at 3:12

GoogleCodeExporter commented 9 years ago
I can confirm this issue with darkice-1.1 (hand-compiled, not packaged) on 
Ubuntu 12.10. It seems to start happening after only a few hours (less than 12) 
and particularly when `mpg123` is playing something. It does not occur while 
using an ALSA source on the same machine. In my case, DarkIce is running as the 
root user.

Original comment by sam...@seenet.ca on 14 Nov 2012 at 2:37

GoogleCodeExporter commented 9 years ago
It's not just MP3... I use Ogg sent to my Icecast 2 server under Ubuntu Studio 
12.04 LTS..  Darkice takes 4% for many hours, and then suddenly I hear the fans 
kick to full speed and find TOP shows 99% CPU time, but the machine in usage 
does not act like it is being taxed, as in I can do other tasks with no notable 
delays..

Further, I am running it on a SFF HP machine with 1GB of RAM, and a P4 3Ghz CPU.

I am wondering if it isn't Ubuntu now, from all the posts pointing that 
direction (at least for those of us seeing the spike in usage after some point 
longer than 12 hours, regardless of actual usage)

Hope adding more info about the system helps...

Going to try another distro tomorrow maybe...

Original comment by AaronJMy...@gmail.com on 19 Jun 2013 at 12:31

GoogleCodeExporter commented 9 years ago
Man, I'd just about forgotten about this. Either way, since the time of 
posting, we've switched our streams to HE-AAC (libaacplus) and I'm still seeing 
the issue there. Would love to hear how things behave on another distro; I'd 
have few problems moving the whole shebang over to Debian. I have to compile 
darkice myself anyway so it's not like I'd be losing out there!

Original comment by sam...@seenet.ca on 19 Jun 2013 at 1:44