camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Cosentino <ancosen1...@yahoo.com.INVALID>
Subject Re: camel-websocket tests
Date Fri, 22 Apr 2016 06:18:47 GMT
It is related to the CPUs on the machine:

minimum maxThreads = 1 + Connectors*(1 + Cores/16 + Cores).

So the make the code works on the CI machine we need to use a bigger maxThreads parameter.

 --
Andrea Cosentino 
----------------------------------
Apache Camel PMC Member
Apache Karaf Committer
Apache Servicemix Committer
Email: ancosen1985@yahoo.com
Twitter: @oscerd2
Github: oscerd



On Friday, April 22, 2016 8:04 AM, Andrea Cosentino <ancosen1985@yahoo.com.INVALID>
wrote:
Sure.

I'm looking at it :-)

When I tested locally the number of required threads was 11 but I see 15 is needed on the
CI Server.

I'll investigate a bit.
--
Andrea Cosentino 
----------------------------------
Apache Camel PMC Member
Apache Karaf Committer
Apache Servicemix Committer
Email: ancosen1985@yahoo.com
Twitter: @oscerd2
Github: oscerd




On Friday, April 22, 2016 7:41 AM, Claus Ibsen <claus.ibsen@gmail.com> wrote:
Hi

Andrea great work on migrating to jetty9.

I wonder if there is a way to configure less threads the tests are
using as the CI server fails. You can see the tests errors from this
link
https://builds.apache.org/job/Camel.trunk.fulltest.java8/746/#showFailuresLink

java.lang.IllegalStateException: Insufficient threads: max=11 <
needed(acceptors=6 + selectors=8 + request=1)
at org.apache.camel.component.websocket.WebsocketProducerRouteRestartTest.setUp(WebsocketProducerRouteRestartTest.java:50)


-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Mime
View raw message