Hi Julian,
 
ived played around with the values rtmptConnection, rtmpMinaConnection
at conf/red5-core.xml.
When i took 1000 for both; red5 was all the time running, but at some
point in time the streaming stopped. (no motioned picture)
The last test i did with rtmpMinaConnection = 10000, rtmptConnection =
5000 with more than 80 Clients.
It worked fine for more than 12h till my wife closed the notebook covers
today in the morning, arghh!
 
Ive to rerun this test to be sure, but it looks like that adjusting
these values can fix the problems for this particular test.
I guess its this (ghost) connection problem. With rtmptConnection and
rtmpMinaConnection you can set the keep alive time. its pinging the
clients. they answer with a pong including a timestamp. is this
timestamp older than in rtmpMinaConnection, rtmptConnection the
connection get closed.
If this keep alive is to big you probably have to much ghost connection
(before they get closed) what is causing the halt.
ill keep on updating you with the results.
 
greets
-Adam-
 
>I have the same problem. 
>Steven Gong escribi?: 
>>> 
>>> 
>>> On 12/7/06, *Adam* <[EMAIL PROTECTED] 
>>> <mailto:[EMAIL PROTECTED]>>> wrote: 
>>> 
>>> Hi Chris, 
>> 
>> i've rerun the test with revision 1583. 
>> With less than 10 test clients it worked fine for more than 12 hours.

>> Than i increased to 20 test clients and after a few minutes red5 
>> freezed as before!! 
>> 
>> I've checked the connections with netstat -an and while the server 
>> was running or freezed. the connection count was fine! 
>> even when red5 was freezed the connections where established and 
>> closed. 
>> 
>> Also new: The broadcaster receives a unpublish.success. at least i 
>> havent noticed it before. 
>> 
>> Thats a vital issue and a show stopper. what can i do to help out 
>> finding the problem. 
>> 
>> 
>> Please report it to JIRA first and describe the reproducing steps as 
>> detailed as possible. Thanks. 
>> 
>> greets 
>> -Adam- 
>> 
>> >Thanks for the quick response. 
>> >I will do so and reply the results to this list!! 
>> >> 
>> >greets 
>> >-Adam- 
>> >> 
>> >>On 12/6/06, Chris <[EMAIL PROTECTED] 
>> <mailto:[EMAIL PROTECTED]>>> wrote: 
>> >>> 
>> >>Hi Adam, 
>> >>Steven recently fixed a problem with ghost connections not being 
>> >removed automatically. Perhaps this problem that you are 
>> experiencing is related. See this thread for more info on it: ><_ 
>>
http://osflash.org/pipermail/red5devs_osflash.org/2006-November/002566_.

>> >html>> 
>>
>http://osflash.org/pipermail/red5devs_osflash.org/2006-November/002566.
h 
>> >tml 
>> >>Could you try your test with r1582 or later? You will more than 
>> likely 
>> >have to build it from the source code in the trunk. 
>> >>Thanks very much for reporting the bug. 
>> >>-Chris 
>> >>On 12/6/06, Adam <[EMAIL PROTECTED] 
>> <mailto:[EMAIL PROTECTED]>>> wrote: 
>> >>> 
>> >>> 
>> >>> Ups, 
>> >>> forgot again! 
>> >>> iam using 0.6rc1 Revision 1579 on Windows XP 
>> >>> 
>> >>> 
>> >>> 
>> >>> >On 12/6/06, Steven <[EMAIL PROTECTED] 
>> <mailto:[EMAIL PROTECTED]>>> wrote: 
>> >>> >Which version? 
>> >>> >On 12/6/06, Adam <[EMAIL PROTECTED] 
>> <mailto:[EMAIL PROTECTED]>>> wrote: 
>> >>> >>> 
>> >>> >>> Hi list, 
>> >>> >>> 
>> >>> >>> i tried to check my application with respect to it's 
>> stability. So 
>> >>> >>> i ran a few times the following code(every 10 sec connecting
or 
>> >>> >>> disconnecting) on each of 3 machines in my LAN. 
>> >>> >>> setInterval(reconnect,10000); 
>> >>> >>> function reconnect() { 
>> >>> >>> connToggle=!connToggle; 
>> >>> >>> if (connToggle) { 
>> >>> >>> trace ("disconnect"); 
>> >>> >>> my_ns.close(); 
>> >>> >>> my_nc.close(); 
>> >>> >>> } else { 
>> >>> >>> trace ("connect"); my_nc.connect("rtmp://localhost/fitcDemo",

>> >>> >>> roomName, 
>> >>> checkId, 
>> >>> >>> loginName, 
>> >>> >>> broadcaster); 
>> >>> >>> remote_so.connect(my_nc); 
>> >>> >>> my_ns = new NetStream(my_nc); 
>> >>> >>> vid_stream.attachVideo(my_ns); 
>> >>> >>> my_ns.play(roomName); 
>> >>> >>> } 
>> >>> >>> } 
>> >>> >>> After a while (sometimes after tens of minutes, another time 
>> a few 
>> >>> >>> hours) the server gets halted. Even my timer that's
frequently 
>> >>> >>> executed to kill this ghost connection isn't executed
anymore. 
>> >>> >>> Its a complete halt. No logs, nothing. 
>> >>> >>> The only thing that's working is that the client receives the

>> >>> >>> netconnection close event on disconnecting. Apart from this 
>> Nothing!! 
>> >>> >>> I noticed this with my and the sample applications. 
>> >>> >>> After restarting the server it works again. But after every
halt 
>>> and 
>> >>> >>> restart of the system this halt happens earlier. At the end
of my 
>> tests 
>> >>> (2 
>> >>> >>> days) this halt happened a few minutes after restarting and 
>> >>> >>> connecting to red5. 
>> >>> >>> 
>> >>> >>> Is this known. Is there a solution, workaround? 
>> >>> >>> 
>> >>> >>> please reply 
>> >>> >>> 
>> >>> >>> greets 
>> >>> >>> -Adam-
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to