My clients keep getting disconnected when trying to broadcast live video. Downstream to the client doesn’t seem to have any problem. I can transmit 10 KB/s but anything beyond 50 KB/s will cause the disconnect problem.
The Wowza access log indicates a ping timeout:
INFO session comment 762278498 client connectionClosed [762278498] pingtimeout
I’ve also seen this in the log:
INFO session connect-pending 98.246.109.194 -
I’m running Wowza 3 on a virtual CentOS 64bit system with 1.75 GB of memory. The Java heap size is set at 500 MB. The application is configured as live low latency with send and receive buffers of 12000. Latency seems ok. Client is flash player 11.
Now I know the above are below the recommended specs for Wowza, but I’d still like to rule out a network problem before upgrading the server, especially since if I have a problem so will my network users. My internet connection is greater than 3 Mb/s down to the client and 4 Mb/s up to the server.
Wowza as configured above + Apache + MySQL + 1 or 2 connected clients + JConsole + ssh will take up between 80-88% of the available memory. CPU usage by the Java process is below 4%. When broadcasting video to the server, other processes (like http to apache) seem sluggish and other connected clients on my network besides the video clients will disconnect (JConsole, even ssh occasionally). Again, streaming down to clients doesn’t seem to be a problem though I haven’t fully tested this yet. Still at peaks up to 300 KB/s down, no problems, but 50 KB/s up will cause the disconnect problem in less than 1 minute of continuous operation.
Any solutions or suggestions for further troubleshooting would be greatly appreciated.