Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4AC27187CE for ; Fri, 22 Apr 2016 06:18:59 +0000 (UTC) Received: (qmail 75828 invoked by uid 500); 22 Apr 2016 06:18:59 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 75780 invoked by uid 500); 22 Apr 2016 06:18:59 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 75765 invoked by uid 99); 22 Apr 2016 06:18:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2016 06:18:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 497C6C081C for ; Fri, 22 Apr 2016 06:18:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.297 X-Spam-Level: X-Spam-Status: No, score=-1.297 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_REPLYTO_END_DIGIT=0.25, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 7xVaW9psZbLk for ; Fri, 22 Apr 2016 06:18:56 +0000 (UTC) Received: from nm46-vm7.bullet.mail.bf1.yahoo.com (nm46-vm7.bullet.mail.bf1.yahoo.com [216.109.115.110]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 3E4505F24E for ; Fri, 22 Apr 2016 06:18:55 +0000 (UTC) Received: from [98.139.170.178] by nm46.bullet.mail.bf1.yahoo.com with NNFMP; 22 Apr 2016 06:18:48 -0000 Received: from [98.139.212.237] by tm21.bullet.mail.bf1.yahoo.com with NNFMP; 22 Apr 2016 06:18:48 -0000 Received: from [127.0.0.1] by omp1046.mail.bf1.yahoo.com with NNFMP; 22 Apr 2016 06:18:48 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 417596.93952.bm@omp1046.mail.bf1.yahoo.com X-YMail-OSG: TKxBmr8VM1lzOh.JR.Orhf6wd0LGfv5bgYxkahIhobOt4M.v6mMgbKM6Sr.h6fk u5dPZWVkQcJTAQAiboD3HpMkFKjiLvhi8kvJFLCJqiaq32jAexfE39.mwthiPi27c8wIbV.7onY1 LnLdEMluXxMKWc_gfySCxK8PwK9Fy1rFt.kSVvhxDnPHf1U0WaOpe0NbNDcwqliHypSM61suSBIg ipYF.Th890FoFGNDIh7a2Bvv2VAVYoxOnD1cPi.WW.kp_LPHvlImFLAmaWjEycgcapSAnC4A.4wM qJtaz47eYzLfCYdj3n9vwTZwXuVNAiiu7QNDfU9AWE.j2JfCThLAMjzaeESmIh4ve1mfT5pITqTf l7heOuyVsrE2OaKOZEd..xzJS3RSxn4seUccGGB9Ml9dRAfIkoSQv3uo79fcgQL1.b4_Z0y7LZjV lr2y5XIbQkAprN8LwrhcLPIeDHm_Ii0wYGE0iO2ib7dbC8HPP9_F6X1XQYd7PTQBqZaRlBUg5NK_ JHValYJZjspnjc403XQ-- Received: by 66.196.81.109; Fri, 22 Apr 2016 06:18:47 +0000 Date: Fri, 22 Apr 2016 06:18:47 +0000 (UTC) From: Andrea Cosentino Reply-To: Andrea Cosentino To: "dev@camel.apache.org" , Andrea Cosentino Message-ID: <1949727034.145527.1461305927628.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: <1966432018.168354.1461305087335.JavaMail.yahoo@mail.yahoo.com> References: <1966432018.168354.1461305087335.JavaMail.yahoo@mail.yahoo.com> Subject: Re: camel-websocket tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 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 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