View previous topic :: View next topic |
Author |
Message |
Anonymous Guest
|
Posted: Tue May 09, 2006 11:56 am Post subject: Performance issues... *SOLVED* |
|
|
Hi all...
I just need some info/tips on how to make icecast perform better;-
I read up on the comparison between icecast and shoutcast Re memory and Cpu but i seem to be getting some major problems.
I had a peak of 58 listeners to my icecast server but was constantly stuttering with 100% cpu utilization.
I stopped the icecast server and then used shoutcast... the users began to connect to the server again.
Shoutcast with roughly the same amount of users uses aroung 40% cpu.
The stream is a 128K mp3 running from SAM.
Server is on 100mbit connection and source is on 2mbit connection (up/down) so i know the source isnt the problem.
Server is only a celeron 2.4ghz with 1gb ram and cant be upgraded unfortunatly so im stuck with this crap server on a great line
My question is, what options do i have that could lower the CPU load when using Icecast?
Apart from changing the bitstream what about settings such as
client limit, threadpool, queue-size etc ...
PS, Im using 2.3.1 on Win2003.
Cheers.
Code: |
<limits>
<clients>200</clients>
<sources>6</sources>
<threadpool>5</threadpool>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<burst-size>65535</burst-size>
</limits> |
Edit: Iv'e changed the threadpool to 20 now, so i will see how that goes...
Last edited by Anonymous on Wed May 10, 2006 3:37 pm; edited 1 time in total |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue May 09, 2006 12:33 pm Post subject: |
|
|
CPU usage should not be anywhere near 100% especially for the likes of 60 stream listeners. Any usual entries appearing in the logs?
karl. |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Tue May 09, 2006 7:14 pm Post subject: |
|
|
karlH wrote: |
CPU usage should not be anywhere near 100% especially for the likes of 60 stream listeners. Any usual entries appearing in the logs?
karl. |
Hi karl,
thanks for your reply, really appreciate it.
the logs more or less empty and theres nothing obvious thats causes the major cpu load... its really getting on my nerves now as i cant reliably stream. the server is from 1and1 and we only got it less than 2 weeks ago, everything else seems to be fine on it thought so it would be a bit difficult to explain the problem to 1and1.
ive attached an image that i took showing the problem, theres only 8 connected to the server aswel!
if you would like remote access to the server then i am more than happy to give it to you.
regards,
Rico
Last edited by Anonymous on Wed May 10, 2006 3:34 pm; edited 1 time in total |
|
Back to top |
|
|
unnamed_devel
Joined: 25 Apr 2006 Posts: 6 Location: Russia
|
Posted: Wed May 10, 2006 8:11 am Post subject: |
|
|
i have a P4-2.8Gigz machine with 1Gig of RAM dual intel pro 100 NIC and links and 70+ listeners (128k mp3 stream), cpu load is not exceed 45%
may be it's not icecast-related prob? may be some other soft wasting you cpu power? |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Wed May 10, 2006 3:37 pm Post subject: |
|
|
Yup,
it wasnt icecast after all.
another server had many connections and was using less than 5% CPU...
i am waiting on our Webhost dealing with the matter, they will not swap the server as of yet as they want to "check it out themselves".
Rico |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Fri May 12, 2006 11:16 pm Post subject: |
|
|
Well the problem got solved by re-installing the server and now icecast 2.3.1_trunkB works lovely
using 8% cpu with 80+ listeners. perfect!
1.3GB transfered in 15 mins! thank god for free bandwidth! |
|
Back to top |
|
|
|