| View previous topic :: View next topic |
| Author |
Message |
seanbranagh
Joined: 28 Apr 2010 Posts: 3
|
Posted: Wed Apr 28, 2010 12:49 am Post subject: How many connections? |
|
|
I have installed icecast on my CentOS VPS and it works perfectly. I will be using it to stream live audio from gigs I play in a band to the band website. I am using simplecast on a laptop and a mobile broadband connection. All is tested and working perfectly. I am currently using a 64Kbps stream.
My question is how many listeners could me server support?
Being a vps the physical server is shared with several other users but the specs are as follows:
Quad Core Intel Xeon
12 GB DDR2 RAM
2x750 GB SATA Hard Disk
Hardware RAID 1
100 Mbps Switch port
I have 384Mb of RAM to myself and I have tested the connection at 80Mbps
With a 64Kbps stream my vps provider suggests I should set the limit at 20 users! I think they are just trying to get me to upgrade packages.
Can anyone give me a very rough idea?
Currently the vps is very underused with only a couple of static websites and email accounts. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Apr 28, 2010 1:06 am Post subject: |
|
|
The main calculation is listeners * 64k = total bandwidth, although you will need some overhead for protocol. If you really have 80Mps available then that allows for over 1000 listeners. CPU and RAM is very unlikely to be an issue these days
karl. |
|
| Back to top |
|
 |
seanbranagh
Joined: 28 Apr 2010 Posts: 3
|
Posted: Wed Apr 28, 2010 1:09 am Post subject: |
|
|
I thought that would be the case.
I tested the connection at 80Mb by connecting to another vps and using wget to get a very large file.
I would be very happy with 100 listeners. LoL. |
|
| Back to top |
|
 |
ct16k
Joined: 16 Apr 2010 Posts: 3
|
Posted: Sat May 01, 2010 10:17 am Post subject: |
|
|
| seanbranagh wrote: |
| I tested the connection at 80Mb by connecting to another vps and using wget to get a very large file. |
Were the two VPS from the same provider? If so, maybe the two servers are on the same network, meaning the 80Mbps you got is the LAN transfer cap (taking into account the packet/frame overhead, 100Mbps switchport etc). You should try uploading a large file from your server to an external host (personal computer at home or something). The 20 users limit they suggested indicates an upload bandwidth of ~1.5Mbps, so you should check if that matches the plan you're currently paying for. |
|
| Back to top |
|
 |
seanbranagh
Joined: 28 Apr 2010 Posts: 3
|
Posted: Sat May 01, 2010 2:41 pm Post subject: |
|
|
| No. The two vps were not the same provider. One was Eukhost (mine) and the other Webfusion (one I use at work) |
|
| Back to top |
|
 |
gimlioak
Joined: 21 Apr 2010 Posts: 13
|
Posted: Tue May 04, 2010 10:01 am Post subject: |
|
|
Hello,
I'm using Icecast with 5000+ mountpoints and 5000+ listeners without any problem.
The only issue I had was people asking for /mountpoints/index.html which produce a huge load on the icecast process. I've installed fail2ban to drop this kind of request and everyhting is now running fine.
My Servers have a direct 2 Gbps (2 x 1 Gbps) internet connection.
HTH
Gimli |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue May 04, 2010 11:55 am Post subject: |
|
|
I have something in my next update to help with that, time limited banning for IPs requesting a mount like /*/index.html
karl. |
|
| Back to top |
|
 |
gimlioak
Joined: 21 Apr 2010 Posts: 13
|
Posted: Tue May 04, 2010 1:00 pm Post subject: |
|
|
Good news !
There are also a lot of other request for joomla hack or other stuff like that (we are mainly listening on the 80 port so we get a lot of tries for known web hacks).
To give you an idea we are currently banning (for 18 hours) 3 to 4,000 IP address/hours (so around 72,000 IP/18 hours).
HTH
Gimli |
|
| Back to top |
|
 |
|