[Live-devel] Unable to stream more then 31 streams.

Ross Finlayson finlayson at live555.com
Thu Oct 2 05:37:38 PDT 2008

>I'm using one process per stream to stream from RTSP server.
>After creating 31 processes, On 32nd the debug says:
>recvfrom() error:
>Groupsock read failed:

This is almost certainly due to some limit (most likely in the number 
of open files) in your OS, not an inherent limit in our software.

>  It dosn't matter if there is 4 processes handling 8 streams or 32 
> processes alltogether,
>the limit is 31.

And this confirms the above (because any limit in our software would 
have to be per-process).

>Any idea on how to fix this?

Reconfigure your OS to increase the maximum number of open files 
(sockets) that it can have at a time.  (How you would do this depends 
upon your particular OS.)

	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)

More information about the live-devel mailing list