Hi,
I’m trying so stress-test our server, but I have the phenomenon that clients keep dropping.
I have a standalone Wowza 4 server, connected with 2GBit/s. (Windows Server 2008 R2)
I set up a livestream (800kbit) and start load testing from Amazon EC2 instances (m3.xlarge) using the Wowza Load Testing Tool. I set up workerCount 100 and the Wowza server shows 100 concurrent connections, but after 1-2 minutes the counter keeps dropping and goes down to 80/90.
The client still shows:
INFO server comment - Status running:100 currBehind:0
but the access log shows that it disconnected some clients: (client connectionClosed / pingtimeout)
2014-07-22      17:25:03        CEST    comment session INFO    401     1802720548      client connectionClosed [1802720548] pingtimeout        _defaultVHost_  live    _definst_       603.259 [any]   1935    rtmp://<wowzaserver>:1935/live     54.195.96.8     rtmp    -       WIN 9,0,124,2   1802720548      4230    59508220        -       -       -       -       -       -       -       -       -       -       -       -       -       rtmp://<wowzaserver>:1935/live     -
2014-07-22      17:25:03        CEST    stop    stream  INFO    200     stream_live_de     -       _defaultVHost_  live    _definst_       602.726 [any]   1935    rtmp://<wowzaserver>:1935/live     54.195.96.8     rtmp    -       WIN 9,0,124,2   1802720548      4230    59508220        1       582954  0       59176298        stream_live_de     -       -       -       -       -       rtmp://<wowzaserver>:1935/live/stream_live_de rtmp://<wowzaserver>:1935/live/stream_live_de -       rtmp://<wowzaserver>:1935/live     -
2014-07-22      17:25:03        CEST    destroy stream  INFO    200     stream_live_de     -       _defaultVHost_  live    _definst_       602.726 [any]   1935    rtmp://<wowzaserver>:1935/live     54.195.96.8     rtmp    -       WIN 9,0,124,2   1802720548      4230    59508220        1       -       0       59176298        stream_live_de     -       -       -       -       -       rtmp://<wowzaserver>:1935/live/stream_live_de rtmp://<wowzaserver>:1935/live/stream_live_de -       rtmp://<wowzaserver>:1935/live     -
2014-07-22      17:25:03        CEST    disconnect      session INFO    200     1802720548      -       _defaultVHost_  live    _definst_       603.261 [any]   1935    rtmp://<wowzaserver>:1935/live     54.195.96.8     rtmp    -       WIN 9,0,124,2   1802720548      4230    59508220        -       -       -       -       -       -       -       -       -       -       -       -       -       rtmp://<wowzaserver>:1935/live     -
2014-07-22      17:25:04        CEST    comment session INFO    401     1770218011      client connectionClosed [1770218011] pingtimeout        _defaultVHost_  live    _definst_       524.948 [any]   1935    rtmp://<wowzaserver>:1935/live     54.195.216.243  rtmp    -       WIN 9,0,124,2   1770218011      4162    53965149        -       -       -       -       -       -       -       -       -       -       -       -       -       rtmp://<wowzaserver>:1935/live     -
2014-07-22      17:25:04        CEST    stop    stream  INFO    200     stream_live_de     -       _defaultVHost_  live    _definst_       524.417 [any]   1935    rtmp://<wowzaserver>:1935/live     54.195.216.243  rtmp    -       WIN 9,0,124,2   1770218011      4162    53965149        1       503360  0       53665326        stream_live_de     -       -       -       -       -       rtmp://<wowzaserver>:1935/live/stream_live_de rtmp://<wowzaserver>:1935/live/stream_live_de -       rtmp://<wowzaserver>:1935/live     -
2014-07-22      17:25:04        CEST    destroy stream  INFO    200     stream_live_de     -       _defaultVHost_  live    _definst_       524.418 [any]   1935    rtmp://<wowzaserver>:1935/live     54.195.216.243  rtmp    -       WIN 9,0,124,2   1770218011      4162    53965149        1       -       0       53665326        stream_live_de     -       -       -       -       -       rtmp://<wowzaserver>:1935/live/stream_live_de rtmp://<wowzaserver>:1935/live/stream_live_de -       rtmp://<wowzaserver>:1935/live     -
2014-07-22      17:25:04        CEST    disconnect      session INFO    200     1770218011      -       _defaultVHost_  live    _definst_       524.951 [any]   1935    rtmp://<wowzaserver>:1935/live     54.195.216.243  rtmp    -       WIN 9,0,124,2   1770218011      4162    53965149        -       -       -       -       -       -       -       -       -       -       -       -       -       rtmp://<wowzaserver>:1935/live     -
2014-07-22      17:25:19        CEST    comment session INFO    401     1756336423      client connectionClosed [1756336423] pingtimeout        _defaultVHost_  live    _definst_       619.072 [any]   1935    rtmp://<wowzaserver>:1935/live     54.195.96.8     rtmp    -       WIN 9,0,124,2   1756336423      4298    64203354        -       -       -       -       -       -       -       -       -       -       -       -       -       rtmp://<wowzaserver>:1935/live     -
2014-07-22      17:25:19        CEST    stop    stream  INFO    200     stream_live_de     -       _defaultVHost_  live    _definst_       618.891 [any]   1935    rtmp://<wowzaserver>:1935/live     54.195.96.8     rtmp    -       WIN 9,0,124,2   1756336423      4298    64203354        1       600427  0       63846372        stream_live_de     -       -       -       -       -       rtmp://<wowzaserver>:1935/live/stream_live_de rtmp://<wowzaserver>:1935/live/stream_live_de -       rtmp://<wowzaserver>:1935/live     -
2014-07-22      17:25:19        CEST    destroy stream  INFO    200     stream_live_de     -       _defaultVHost_  live    _definst_       618.893 [any]   1935    rtmp://<wowzaserver>:1935/live     54.195.96.8     rtmp    -       WIN 9,0,124,2   1756336423      4298    64203354        1       -       0       63846372        stream_live_de     -       -       -       -       -       rtmp://<wowzaserver>:1935/live/stream_live_de rtmp://<wowzaserver>:1935/live/stream_live_de -       rtmp://<wowzaserver>:1935/live     -
2014-07-22      17:25:19        CEST    disconnect      session INFO    200     1756336423      -       _defaultVHost_  live    _definst_       619.076 [any]   1935    rtmp://<wowzaserver>:1935/live     54.195.96.8     rtmp    -       WIN 9,0,124,2   1756336423      4298    64203354        -       -       -       -       -       -       -       -       -       -       -       -       -       rtmp://<wowzaserver>:1935/live     -
2014-07-22      17:25:19        CEST    comment session INFO    401     1619303711      client connectionClosed [1619303711] pingtimeout        _defaultVHost_  live    _definst_       619.25  [any]   1935    rtmp://<wowzaserver>:1935/live     54.195.96.8     rtmp    -       WIN 9,0,124,2   1619303711      4298    64813788        -       -       -       -       -       -       -       -       -       -       -       -       -       rtmp://<wowzaserver>:1935/live     -
2014-07-22      17:25:19        CEST    comment session INFO    401     261625871       client connectionClosed [261625871] pingtimeout _defaultVHost_  live    _definst_       619.199 [any]   1935    rtmp://<wowzaserver>:1935/live     54.195.96.8     rtmp    -       WIN 9,0,124,2   261625871       4298    64813788        -       -       -       -       -       -       -       -       -       -       -       -       -       rtmp://<wowzaserver>:1935/live     -
2014-07-22      17:25:19        CEST    stop    stream  INFO    200     stream_live_de     -       _defaultVHost_  live    _definst_       619.019 [any]   1935    rtmp://<wowzaserver>:1935/live     54.195.96.8     rtmp    -       WIN 9,0,124,2   1619303711      4298    64813788        1       605632  0       64453733        stream_live_de     -       -       -       -       -       rtmp://<wowzaserver>:1935/live/stream_live_de rtmp://<wowzaserver>:1935/live/stream_live_de -       rtmp://<wowzaserver>:1935/live     -
2014-07-22      17:25:19        CEST    stop    stream  INFO    200     stream_live_de     -       _defaultVHost_  live    _definst_       619.006 [any]   1935    rtmp://<wowzaserver>:1935/live     54.195.96.8     rtmp    -       WIN 9,0,124,2   261625871       4298    64813788        1       605632  0       64453733        stream_live_de     -       -       -       -       -       rtmp://<wowzaserver>:1935/live/stream_live_de rtmp://<wowzaserver>:1935/live/stream_live_de -       rtmp://<wowzaserver>:1935/live     -
2014-07-22      17:25:19        CEST    destroy stream  INFO    200     stream_live_de     -       _defaultVHost_  live    _definst_       619.02  [any]   1935    rtmp://<wowzaserver>:1935/live     54.195.96.8     rtmp    -       WIN 9,0,124,2   1619303711      4298    64813788        1       -       0       64453733        stream_live_de     -       -       -       -       -       rtmp://<wowzaserver>:1935/live/stream_live_de rtmp://<wowzaserver>:1935/live/stream_live_de -       rtmp://<wowzaserver>:1935/live     -
Is there any way to prevent this? After a few minutes the workerCount decreased for about 50%, which makes it difficult to thoroughly stress-test the server.
Bandwidth can’t be the problem, because I can start several EC2 instances and it doesn’t matter if I start with a workerCount of 50 or 250, the connections will start dropping. The server is <10% of network usage and the EC2 instances should be able to handle ~100Mbit/s.
Any ideas?
I found a similar thread here, but it’s more than 2 years old and wasn’t solved…