Adhearsion 3.0.0rc1 JRuby stability

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Adhearsion 3.0.0rc1 JRuby stability

gsiehien
Hi,

I've noticed some stability issues when using Adhearsion 3.0.0rc1 with JRuby-9.0.5.0. I'm able to do only 5 calls per second when benchmarking it with sippy_cup.

Adhearsion controller:

answer
play 'file:///usr/share/freeswitch/sounds/music/default/8000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav'
hangup

sippy_cup scenario:

source: 192.168.0.32
destination: server.example.com:15060
max_concurrent: 50
calls_per_second: 10
number_of_calls: 200
steps:
  - invite
  - wait_for_answer
  - ack_answer
  - sleep 20
  - hangup

If calls_per_second > 5 Adhearsion seems to be stuck after answering first 5 calls and Freeswitch is returning 503 errors for any following calls (even after the test is done, adhearsion needs restart to accept calls again). 
If calls_per_second == 5 and max_concurrent == 100 and number_of_calls == 200, it hangs after about 170 calls.

With the same hardware, network setup and MRI (2.2.4) I'm able to get stable 100 concurrent calls with 15CPS.

Regards,
Gregory

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Adhearsion 3.0.0rc1 JRuby stability

Ben Langfeld
I fixed this a couple of weeks ago. Did you try using the master branch?

Enviado do meu iPhone

Em 8 Feb 2016, às 20:14, gsiehien <[hidden email]> escreveu:

Hi,

I've noticed some stability issues when using Adhearsion 3.0.0rc1 with JRuby-9.0.5.0. I'm able to do only 5 calls per second when benchmarking it with sippy_cup.

Adhearsion controller:

answer
play 'file:///usr/share/freeswitch/sounds/music/default/8000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav'
hangup

sippy_cup scenario:

source: 192.168.0.32
destination: server.example.com:15060
max_concurrent: 50
calls_per_second: 10
number_of_calls: 200
steps:
  - invite
  - wait_for_answer
  - ack_answer
  - sleep 20
  - hangup

If calls_per_second > 5 Adhearsion seems to be stuck after answering first 5 calls and Freeswitch is returning 503 errors for any following calls (even after the test is done, adhearsion needs restart to accept calls again). 
If calls_per_second == 5 and max_concurrent == 100 and number_of_calls == 200, it hangs after about 170 calls.

With the same hardware, network setup and MRI (2.2.4) I'm able to get stable 100 concurrent calls with 15CPS.

Regards,
Gregory

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Adhearsion 3.0.0rc1 JRuby stability

gsiehien
Hi,

just tried:

gem 'adhearsion', :git => 'https://github.com/adhearsion/adhearsion.git', :branch => 'master'

and I was able to permanently hang adhersion with a call flood. I'm also able to hang it at MRI, but with much bigger call volume.

Regards,
Gregory

W dniu poniedziałek, 8 lutego 2016 23:20:40 UTC+1 użytkownik Ben Langfeld napisał:
I fixed this a couple of weeks ago. Did you try using the master branch?

Enviado do meu iPhone

Em 8 Feb 2016, às 20:14, gsiehien <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="jwZ7HSRhAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">gsie...@...> escreveu:

Hi,

I've noticed some stability issues when using Adhearsion 3.0.0rc1 with JRuby-9.0.5.0. I'm able to do only 5 calls per second when benchmarking it with sippy_cup.

Adhearsion controller:

answer
play 'file:///usr/share/freeswitch/sounds/music/default/8000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav'
hangup

sippy_cup scenario:

source: 192.168.0.32
destination: <a href="http://server.example.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fserver.example.com\46sa\75D\46sntz\0751\46usg\75AFQjCNEDlVkXb_RJe17jvC_emxJoW2ACMA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fserver.example.com\46sa\75D\46sntz\0751\46usg\75AFQjCNEDlVkXb_RJe17jvC_emxJoW2ACMA&#39;;return true;">server.example.com:15060
max_concurrent: 50
calls_per_second: 10
number_of_calls: 200
steps:
  - invite
  - wait_for_answer
  - ack_answer
  - sleep 20
  - hangup

If calls_per_second > 5 Adhearsion seems to be stuck after answering first 5 calls and Freeswitch is returning 503 errors for any following calls (even after the test is done, adhearsion needs restart to accept calls again). 
If calls_per_second == 5 and max_concurrent == 100 and number_of_calls == 200, it hangs after about 170 calls.

With the same hardware, network setup and MRI (2.2.4) I'm able to get stable 100 concurrent calls with 15CPS.

Regards,
Gregory

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="jwZ7HSRhAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">adhearsion+...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Adhearsion 3.0.0rc1 JRuby stability

Ben Langfeld
Sorry, of course the master branch is the same thing as rc1. I meant the develop branch, and mis-spoke. Would you try that?

Enviado do meu iPhone

Em 8 Feb 2016, às 22:31, gsiehien <[hidden email]> escreveu:

Hi,

just tried:

gem 'adhearsion', :git => 'https://github.com/adhearsion/adhearsion.git', :branch => 'master'

and I was able to permanently hang adhersion with a call flood. I'm also able to hang it at MRI, but with much bigger call volume.

Regards,
Gregory

W dniu poniedziałek, 8 lutego 2016 23:20:40 UTC+1 użytkownik Ben Langfeld napisał:
I fixed this a couple of weeks ago. Did you try using the master branch?

Enviado do meu iPhone

Em 8 Feb 2016, às 20:14, gsiehien <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="jwZ7HSRhAwAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">gsie...@...> escreveu:

Hi,

I've noticed some stability issues when using Adhearsion 3.0.0rc1 with JRuby-9.0.5.0. I'm able to do only 5 calls per second when benchmarking it with sippy_cup.

Adhearsion controller:

answer
play 'file:///usr/share/freeswitch/sounds/music/default/8000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav'
hangup

sippy_cup scenario:

source: 192.168.0.32
destination: <a href="http://server.example.com" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fserver.example.com\46sa\75D\46sntz\0751\46usg\75AFQjCNEDlVkXb_RJe17jvC_emxJoW2ACMA';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fserver.example.com\46sa\75D\46sntz\0751\46usg\75AFQjCNEDlVkXb_RJe17jvC_emxJoW2ACMA';return true;">server.example.com:15060
max_concurrent: 50
calls_per_second: 10
number_of_calls: 200
steps:
  - invite
  - wait_for_answer
  - ack_answer
  - sleep 20
  - hangup

If calls_per_second > 5 Adhearsion seems to be stuck after answering first 5 calls and Freeswitch is returning 503 errors for any following calls (even after the test is done, adhearsion needs restart to accept calls again). 
If calls_per_second == 5 and max_concurrent == 100 and number_of_calls == 200, it hangs after about 170 calls.

With the same hardware, network setup and MRI (2.2.4) I'm able to get stable 100 concurrent calls with 15CPS.

Regards,
Gregory

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="jwZ7HSRhAwAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">adhearsion+...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Adhearsion 3.0.0rc1 JRuby stability

gsiehien
I've just tested it. Works great. Thanks!

W dniu wtorek, 9 lutego 2016 02:17:52 UTC+1 użytkownik Ben Langfeld napisał:
Sorry, of course the master branch is the same thing as rc1. I meant the develop branch, and mis-spoke. Would you try that?

Enviado do meu iPhone

Em 8 Feb 2016, às 22:31, gsiehien <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="QSmIrc9qAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">gsie...@...> escreveu:

Hi,

just tried:

gem 'adhearsion', :git => '<a href="https://github.com/adhearsion/adhearsion.git&#39;" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fadhearsion%2Fadhearsion.git\47\46sa\75D\46sntz\0751\46usg\75AFQjCNGW2frVjuG-mJbJ_vV4bUZh4_dFIQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fadhearsion%2Fadhearsion.git\47\46sa\75D\46sntz\0751\46usg\75AFQjCNGW2frVjuG-mJbJ_vV4bUZh4_dFIQ&#39;;return true;">https://github.com/adhearsion/adhearsion.git', :branch => 'master'

and I was able to permanently hang adhersion with a call flood. I'm also able to hang it at MRI, but with much bigger call volume.

Regards,
Gregory

W dniu poniedziałek, 8 lutego 2016 23:20:40 UTC+1 użytkownik Ben Langfeld napisał:
I fixed this a couple of weeks ago. Did you try using the master branch?

Enviado do meu iPhone

Em 8 Feb 2016, às 20:14, gsiehien <[hidden email]> escreveu:

Hi,

I've noticed some stability issues when using Adhearsion 3.0.0rc1 with JRuby-9.0.5.0. I'm able to do only 5 calls per second when benchmarking it with sippy_cup.

Adhearsion controller:

answer
play 'file:///usr/share/freeswitch/sounds/music/default/8000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav'
hangup

sippy_cup scenario:

source: 192.168.0.32
destination: <a href="http://server.example.com" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fserver.example.com\46sa\75D\46sntz\0751\46usg\75AFQjCNEDlVkXb_RJe17jvC_emxJoW2ACMA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fserver.example.com\46sa\75D\46sntz\0751\46usg\75AFQjCNEDlVkXb_RJe17jvC_emxJoW2ACMA&#39;;return true;">server.example.com:15060
max_concurrent: 50
calls_per_second: 10
number_of_calls: 200
steps:
  - invite
  - wait_for_answer
  - ack_answer
  - sleep 20
  - hangup

If calls_per_second > 5 Adhearsion seems to be stuck after answering first 5 calls and Freeswitch is returning 503 errors for any following calls (even after the test is done, adhearsion needs restart to accept calls again). 
If calls_per_second == 5 and max_concurrent == 100 and number_of_calls == 200, it hangs after about 170 calls.

With the same hardware, network setup and MRI (2.2.4) I'm able to get stable 100 concurrent calls with 15CPS.

Regards,
Gregory

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adhearsion+...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="QSmIrc9qAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">adhearsion+...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.