Skip to main content
Participant
March 21, 2012
Question

fms live stream server stops sending data around 4+hrs

  • March 21, 2012
  • 1 reply
  • 1140 views

Hi,

I am having some issues with fms servers livestream connection. My rtmp client connects to the server ok and rtmp data flowing ok for about 4hours, in the wireshark trace I can see that the server just stops sending data roughly after 4hours. The server version is 3.5.1, and I also try it on a 4.0 server the data stops coming from the server as well after 5+hours. There are no errors or any indication of session disconneciton in the diagnostic logs.  I have also looked thru the settings in applicaiton.xml and server.xml I just don't see any obviious reason for the issue. I do send rtmp Acknowledgement to server after the client receives "window size" bytes, and the client sends ping response to server.  Are there any other that client needs to send back to server? It would be greatly appreciated for any pointers and help. Thanks.

    This topic has been closed for replies.

    1 reply

    gngnutAuthor
    Participant
    March 22, 2012

    Updates:

    An interesting observation is that the server stops transmitting data when server-to-client bytes reaches ~4G. The number sounds too much like a system resource limitation. It is a live stream and it is not being recorded so I am not sure where is the 4G limitation coming from. FLVCACHE_MAXSIZE is for recorded stream, I think, and it is set to the default 500MB.

    Also, in the access log the check point for connect-continue and play-continue keep showing status of 100, which is supposed to be "Waiting for the application to authenticate.". Is this correct? The connection is successfully connected and play command is successful as shown in the access log. swfVerification is disabled in application.xnl. what does the server waiting for in respect to authentication?

    Below is the log:

    connect-continuesession2012-03-2201:51:24Eastern Daylight Time10.200.4.22410.200.4.1721176144_defaultRoot__defaultVHost_live_definst_010010.200.4.224rtmp-rtmp://10.200.4.172/livertmp://10.200.4.172/live-file:///mac.flvLNX 9,0,48,0470211123455886987131833840850027normal--------------------------file:///mac.html---

    play-continuestream2012-03-2201:51:24Eastern Daylight Timelivestream10.200.4.1721176144_defaultRoot__defaultVHost_live_definst_1804410010.200.4.224rtmp-rtmp://10.200.4.172/livertmp://10.200.4.172/live-file:///mac.flvLNX 9,0,48,0470211123455886987131833840850027normallivestream--rtmp://10.200.4.172/live/livestreamrtmp://10.200.4.172/live/livestream-flv--18085866-03829693036----1--------file:///mac.html-1-1.000000-

    Any pointers would be greatly appreciated. Thanks.

    Participant
    March 6, 2015

    Is the server probably trying to garbage collect? Is your recording stream referenced through a global variable?