Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How many connections?

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
seanbranagh



Joined: 28 Apr 2010
Posts: 3

PostPosted: Wed Apr 28, 2010 12:49 am    Post subject: How many connections? Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Apr 28, 2010 1:06 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
seanbranagh



Joined: 28 Apr 2010
Posts: 3

PostPosted: Wed Apr 28, 2010 1:09 am    Post subject: Reply with quote

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
View user's profile Send private message
ct16k



Joined: 16 Apr 2010
Posts: 3

PostPosted: Sat May 01, 2010 10:17 am    Post subject: Reply with quote

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
View user's profile Send private message
seanbranagh



Joined: 28 Apr 2010
Posts: 3

PostPosted: Sat May 01, 2010 2:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
gimlioak



Joined: 21 Apr 2010
Posts: 13

PostPosted: Tue May 04, 2010 10:01 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue May 04, 2010 11:55 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
gimlioak



Joined: 21 Apr 2010
Posts: 13

PostPosted: Tue May 04, 2010 1:00 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber