Darkice high CPU usage after over 35 hours extremely light use.
Hello,
It seems years later the problem still exists.
Approximately 11PM on the 15th of June, 2013: I finished installing Ubuntu 12.04 LTS on a SFF PC with a 3.0Ghz Pentium 4, I updated all packages, installed Icecast 2, checked to see if there were any more updates, installed Darkice, and everything seemed to work well by midnight, and even still by 3AM on the 16th.
After a reasonable day broadcasting to a few people for a few minutes each, and myself for a few hours, Everything still seemed fine. (Yes, I did sleep between 3AM and 9:30AM on the 16th)
However, this morning when I came into work (17th of June, 2013) I immediately HEARD the fan from the streaming machine from the front door of our office suites! I walked straight to where the noise was coming from, in the main studio cabinets.... I was upset that the machine was working so hard it's fans were all at 100% speeds, but soon happier that the OS had not crashed. I opened a console and typed "top" to see what was so demanding on the CPU.... 99% CPU time was going to darkice with the same live feed being sent to the icecast 2 server as always.
We are talking a 64kbit OGG stream... nothing complex, like multiple bitrate streams...
I have yet to tail the logs today, but I was wondering if anyone knew if the problem is Ubuntu, Ogg Vorbis, or a problem with P4 CPU's? (or something I have not yet thought of?)
I think it was still capable of streaming, but I did not try before issuing "killall -r darkice"....
The fans started spinning down almost instantly, and returned to near silence in under a minute.
I then restarted darkice via a shortcut to my bash script that starts darkice and puts it in the background so the console window can be closed... (is that a possible problem?)
I can post my script if anyone is interested... it just saves a few keystrokes to launch, then close the console window after echoing running status and waiting a few seconds so users can view the text... nothing exotic.
I am thinking I need to do cron jobs every 12 hours to kill darkice and respawn it... that's acceptable for our 10KW AM station.
Anyone know what the cause of the CPU usage is?
Thanks,
Aaron