Closed SimonK15 closed 7 years ago
If you use the latest Jetty does it still fail? Jetty 9.3.6 is on the old side now.
@SimonK15 can you please detail how to setup tsung
? How do I install it, run it, etc ? Assume Linux.
Managed to get tsung
installed, but cannot get it to run and perform requests.
$ tsung -f etc/tsung.xml start
Starting Tsung
Log directory is: /home/simon/.tsung/log/20170616-1657
ssh: connect to host localhost port 22: Connection refused
[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
Why does it need to connect to port 22 ?
Also, your etc/tsung.xml
in your sample project is missing a closing }
in the JSON that is sent on the request POST.
Why does it need to connect to port 22 ?
As far as I remember, the tsung 'master' distributes the tasks to the tsung 'clients' via ssh. It also does some monitoring. If you go for that setup, you will need to make the ssh keys of client and master known to each other.
Also, your etc/tsung.xml in your sample project is missing a closing } in the JSON that is sent on the request POST.
Fixed that typo.
If you use the latest Jetty does it still fail? Jetty 9.3.6 is on the old side now.
I did some test with the newest version '9.4.6.v20170531' and jetty does not seem to get stuck anymore. So I can't say whether something was fixed or its now just less likely to happen.
Feel free to close the issue then.
I had hoped somebody could figure out what the reason behind this behavious was (or is?), but it seems unlikely that this will ever happen. So I close the ticket ...
Jetty Version: 9.3.6.v20151106
When putting an embedded jetty server under load the server end ups in a state where jetty can not process further requests.
The problem might be that the JDK selector has been closed, or some Jetty component has been stopped.
A dump of jetty shows the following:
while a normal dump is supposed to contain some more informations below the Selector:
A sample webapp project can be found here: https://github.com/SimonK15/jetty-test-server Check the README.md for more information on how to reproduce the error. A tsung config file for a load tests is included as well.
Refer to the [jetty-users] mailinglist topic 'Jetty LoadTests and no available selectors' for the discussion.