Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 62641 invoked from network); 25 Sep 2009 23:17:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Sep 2009 23:17:49 -0000 Received: (qmail 72753 invoked by uid 500); 25 Sep 2009 23:17:49 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 72708 invoked by uid 500); 25 Sep 2009 23:17:49 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 72698 invoked by uid 500); 25 Sep 2009 23:17:49 -0000 Delivered-To: apmail-jakarta-httpcomponents-dev@jakarta.apache.org Received: (qmail 72695 invoked by uid 99); 25 Sep 2009 23:17:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 23:17:49 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [92.42.190.144] (HELO ok2cons2.nine.ch) (92.42.190.144) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 23:17:39 +0000 Received: from [192.168.1.102] (77-58-234-86.dclient.hispeed.ch [77.58.234.86]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id E1E7E4BA42B; Sat, 26 Sep 2009 01:17:16 +0200 (CEST) Message-ID: <4ABD4F75.9040204@apache.org> Date: Sat, 26 Sep 2009 01:17:09 +0200 From: Oleg Kalnichevski User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: dev@synapse.apache.org CC: HttpComponents Project Subject: Re: Synapse with IBM JDK 1.5 over httpcore-nio References: <672a01200909250037y6eaab761q2ee0d345766bc1e@mail.gmail.com> <20090925075959.GA8631@ok2cons2.nine.ch> <672a01200909251127jf572140y2ce9c1aa888f410a@mail.gmail.com> In-Reply-To: <672a01200909251127jf572140y2ce9c1aa888f410a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ruwan Linton wrote: > Hi Oleg, > > Thanks, Yes this does solve most part of the problem, may be we can make > it a configuration as well apart from the automatic tuning that you are > planing to do, so in case if the autodetection fails for enabling that > users can do it manually using the nhttp.properties file. > > But, it still brings IOReactor down on high loads, where SUN JDK has no > issue at all in serving. I will dig more into the issue and share any > information if I could find the issue. > How exactly does that happen? Are you seeing any exceptions? Oleg > Thanks, > Ruwan > > On Fri, Sep 25, 2009 at 1:29 PM, Oleg Kalnichevski > wrote: > > On Fri, Sep 25, 2009 at 01:07:00PM +0530, Ruwan Linton wrote: > > Has any one tried to run synapse on IBM JDK 1.5?? I have tried > this but > > having some issue with the HTTP NIO transport :-( > > > > Oleg, I had a look at the issue [1] and tried synapse with the > 4.1-alpha1 > > release of the httpcore, but still the issue persists. It seems > it is taking > > a long time to send the request out from synapse to the actual > service. Any > > clue on this?? Was not being able to capture the thread dump as well, > > because when I tried to kill -3 synapse IO reactor sent on to a loop. > > > > Please note that this is IBM JDK 1.5. > > > > Thanks, > > Ruwan > > > > [1] - https://issues.apache.org/jira/browse/HTTPCORE-155 > > > > -- > > Ruwan Linton > > Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb > > WSO2 Inc.; http://wso2.org > > email: ruwan@wso2.com ; cell: +94 77 341 3097 > > blog: http://ruwansblog.blogspot.com > > Ruwan, > > The IBM JRE compatibility mode needs to be activated using this > parameter: > > http://hc.apache.org/httpcomponents-core/httpcore-nio/apidocs/org/apache/http/nio/params/NIOReactorPNames.html#INTEREST_OPS_QUEUEING > > Per default HttpCore assumes the underlying JRE has a sane > implementation of > SelectionKey. > > I will be out of contract as of next week and will have lots of > spare time on > my hands. I am planning to contribute a piece of code to Synapse > that turns on > interest op queueing depending on the JRE and as well as some other > minor > imrovements. > > Cheers > > Oleg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org > > For additional commands, e-mail: dev-help@synapse.apache.org > > > > > > -- > Ruwan Linton > Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb > WSO2 Inc.; http://wso2.org > email: ruwan@wso2.com ; cell: +94 77 341 3097 > blog: http://ruwansblog.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org