This is a strange problem to whose root I can not get. I use StreamingProxy to forward a single incoming stream to various webapps on the same server. With .8Rc2, it works well enough.
Anything past that and I start to run into problems with open pipes.
---RC2:
server started:
[/usr/local/red5]# lsof | grep java | grep pipe | wc -l
10
Connected, streaming out:
[/usr/local/red5]# lsof | grep java | grep pipe | wc -l
22
Disconnected, streams stopped and proxies gone
[/usr/local/red5]# lsof | grep java | grep pipe | wc -l
10
---Latest:
server started:
[/usr/local/red5]# lsof | grep java | grep pipe | wc -l
10
Connected, streaming out:
[/usr/local/red5]# lsof | grep java | grep pipe | wc -l
58
Disconnected
[/usr/local/red5]# lsof | grep java | grep pipe | wc -l
58
Reconnect and disconnect
[/usr/local/red5]# lsof | grep java | grep pipe | wc -l
202
[/usr/local/red5]# date
Thu JulĀ 9 10:24:39 PDT 2009
[/usr/local/red5]# lsof | grep java | grep pipe | wc -l
202
[/usr/local/red5]# date
Thu JulĀ 9 10:39:39 PDT 2009
[/usr/local/red5]# lsof | grep java | grep pipe | wc -l
202
The pipes opened never close as they do in rc2 and so, eventually, red5 hits the open files limit and everything goes pbbbllttttt. I have been digging around in the code for a while trying to figure out just where this is happening and why. As near as I can figure, all the PipeConnectionEvents are firing off as they should, but still this thing.
Can anyone point me in the right direction? Is this a mina issue?
_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org