Hi,

we are trying to do some loadTest against a (jersey / async) rest service running in an embedded jetty server (9.3.6.v20151106).
We are using bootique (0.21) for startup and configuration.
The server is running under FreeBSD.

After some time no requests are handled by the Server. We can see that the request passed through the acceptor,
but after that nothing happens.
When monitoring the server via JMX, we can see that after peak load there are no more 'selector threads'.
Is that supposed to be normal? Why are no new selectors spawned?
Only worker threads remain, but those are being disposed of after they reach their inactive timeout (so the general mechanism does seem to work for workers, but not for selectors).

As far as I understand there is only one configurable ThreadPool (qtp), which contains all the threads for acceptors, selectors and workers. Is there a way to configure the server to always have a configure fixed amount of selectors?

I saw that when using the constructor for ServerConnector you can set a number for acceptors and selectors. But checking via JMX that does not seem to be related to the number of threads.

Another question would be:
What is the default behaviour supposed to be in case the application is overloaded and a request can not be processed? (related to a job queue of a fixed length configured using maxQueuedRequests) Is the request just silently discarded or is there a specific respond coming back to the client?

We would appreciate any help regarding this matter.

Best Regards,
Simon Kulessa.

--
Mit freundlichen Grüssen
Simon Kulessa
Senior Developer
KOBIL Systems GmbH
Pfortenring 11
67547 Worms/Germany
fon  +49 (0)6241 3004-0
fax  +49 (0)6241 3004-80

Email: [email protected]
Web: www.kobil.com

KOBIL Systems GmbH, Pfortenring 11, 67547 Worms
Sitz und Registergericht Mainz  |  HRB 10856
Geschäftsführer: Ismet Koyun |  Sitz der Gesellschaft: Worms

Die Information in dieser E-Mail ist vertraulich und exklusiv für den 
Adressatenkreis bestimmt.
Unbefugte Empfänger haben kein Recht, vom Inhalt Kenntnis zu nehmen, 
fehlgeleitete E-Mails sind sofort zu löschen.
Die KOBIL Systems GmbH ist von der Richtigkeit des Inhalts und der Übertragung 
dieser E-Mail überzeugt.
Eine Haftung dafür ist jedoch ausgeschlossen.

_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to