Re: icecast relay server performance testing
Philipp Schafft <[email protected]> Fri, 10 Jun 2016 10:09:36 +0000
| Newsgroups | gmane.comp.audio.icecast.devel |
|---|---|
| Organization | PH2 |
| Message-ID | <[email protected]> |
Good noon, On Fri, 2016-06-10 at 12:50 +0900, Zahar Popov wrote: > Hello > I'm trying to measure the performance of the icecast relay server on > 64kbps streams. > > The server is running in AWS [...]. I'm using the icecast-kh fork. > [...] > I'm able to go up to around 9K simultaneous connections to the server > (from two machines). [...] First: -kh is a independent fork. So I can hardly speak for it. This answer is completely based on the (often wrong) assumption that in this case behaves exactly like the official Icecast2 in any stable and supported version. > It doesn't matter if i run one or more instances of the relay server, > the limit seems to be OS global so when one instance is running with > 5K connections and the other instance is getting close to 4K > connections they both start dropping connections. > > I assume that there is some other setting of the stack that i didn't > configure so i was wondering if anybody was able to run a few dozens > of thousands of connections on one server. This should give you the hint: It's not a problem of Icecast2 as it doesn't depend on the processes. Basically: AWS is well known for their broken TCP stack. There is no reason to run Icecast2 on AWS. Just use a normal server and be fine. What you see above is just AWS's maximum connection limit per instance or something. (But there are more problems known with AWS's TCP stack that affect real world deployments of Icecast2.) Have a nice day! -- Philipp. (Rah of PH2) _______________________________________________ Icecast-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/icecast-dev
signature.asc
(application/pgp-signature, 490 B)
-----BEGIN PGP SIGNATURE----- Comment: Because it's your freedom iQEcBAABAgAGBQJXWpHfAAoJECiSu/RFvltJQeEIALjgFaR4FqUaca8UaFlkPOx2 totaEd8oxhOdyzvNUOAbu3jFqJ542+eTDp8eGmtSMEXXMkSAGYl2d9iFZeNd0Aqh 4TQXK0Dp2YAOjnISIH3ZEQg5CRpOwKyp7EWo4mJDb+3Yl+FbWBwNxKtQtRya/av6 MdFxhGEU0Sje0vbZJNZ5xNLt4XxiWnfqs6cXLNdRrnWxmzLZR3A5fpnbIUI6LYtu Sw7RTKRA66epU9EIvtGKWkCZWk5euy7KRyrasEAQ6HFCMIvWupMF3Ly7/NodZyag eFxXSz+7utUOD5JSTfltXzAzvLEpNtl6K7HFGmD3jTYNeY7Oc43yW3+DwdiPOV8= =pUnS -----END PGP SIGNATURE-----