Return-Path: X-Original-To: apmail-uima-user-archive@www.apache.org Delivered-To: apmail-uima-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D8C01F88A for ; Mon, 25 Mar 2013 13:55:43 +0000 (UTC) Received: (qmail 47959 invoked by uid 500); 25 Mar 2013 13:55:43 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 47884 invoked by uid 500); 25 Mar 2013 13:55:43 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 47872 invoked by uid 99); 25 Mar 2013 13:55:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Mar 2013 13:55:42 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of uimaee@gmail.com designates 209.85.214.171 as permitted sender) Received: from [209.85.214.171] (HELO mail-ob0-f171.google.com) (209.85.214.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Mar 2013 13:55:38 +0000 Received: by mail-ob0-f171.google.com with SMTP id x4so5989443obh.30 for ; Mon, 25 Mar 2013 06:55:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=LWShcdO7W33D5As8yh9adOu0T82BJdPwqO4+PwzQGq4=; b=K+GWTWdJ2HXS2aqvwIKb/BAw8y+PehSaZF9HVQYJERfij8CdLGVFPLyBSbXKnKFE1w NqpZc31qO+apBmUSUQ4AGACApHR7Bxn3967kJPmxMYTP4pBGRmUrYAHmNA0vP61O39A2 HVEswYzqKxbJR3d1q37515VdNHpdsnp/gqPoQvmJvjazLKxyjVXojiFySw8gyP9vPUL4 TYYpFFBBiTX+gAMsLBWshlOwzCaRMiMTwc76+3DNU+0IkKVbYliCpoaqtuITkzWDhROK SfBKF8HCoXsQcSTsmJ6pc0KfbR1MFuTjOurA/eQPg3edR/2DzvRQy7Oc9ioJixg3VpnD iGeA== MIME-Version: 1.0 X-Received: by 10.60.24.162 with SMTP id v2mr8307390oef.96.1364219717751; Mon, 25 Mar 2013 06:55:17 -0700 (PDT) Received: by 10.76.163.97 with HTTP; Mon, 25 Mar 2013 06:55:17 -0700 (PDT) In-Reply-To: References: Date: Mon, 25 Mar 2013 09:55:17 -0400 Message-ID: Subject: Re: UIMA-AS: sendAndRecieveCAS hangs with no response From: Jaroslaw Cwiklik To: user@uima.apache.org Content-Type: multipart/alternative; boundary=e89a8ff252baac228704d8c027f4 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff252baac228704d8c027f4 Content-Type: text/plain; charset=ISO-8859-1 Hi, do you have a deeply nested CMs in your pipeline? Is the top level UIMA-AS service (the one the client is sending CASes to) a CM? What you can do to debug this is to use jConsole attached to the UIMA-AS process once you observe a hang. Click on Threads tab and check each thread to determine where it is stuck. Some threads will be blocking waiting on queues and thats ok. Check if CM thread is blocking on getCas() which would mean that CASes are not being released. Also, check the queue ( via jConsole attached to Broker process). Does it look like the CASes are stuck in the queue? -jc On Sat, Mar 23, 2013 at 11:29 AM, Aiman wrote: > Hi all - > > After some debugging, it turned out that this is caused by the Cas > Multipliers that I have in my pipleline. When I remove them from the > pipeline it performs very well. I was wondering if there are any > considerations that I have to make when using cas multipliers with UIMA-AS > ? Are there any settings that I have to change to the descriptor? > > Thanks > > > On 2013-03-23 15:01:42 +0000, Aiman said: > > Hello all - >> >> I have been able to successfully deploy my pipeline using UIMA-AS, I >> tested it through command line tools and received the output CAS. I was >> then able to programmatically call the service using Client API both >> asynchronous and synchronously. However, for some reason, after few runs it >> stopped working. >> >> Now whenever I call sendAndReceiveCAS it just blocks without receiving >> any response, viewing uima.log did not help as I only found some INFO >> messages without any errors. sendCAS is more of a hit and miss, it works >> sometimes and sometimes it does not. I do not understand what causing this >> and I don't know how to troubleshoot it. I've tried to purge activemq >> queue, restart it, restart the AS service, changed the queue name. But none >> of that helped. When I try to terminate the service (using s+Enter), it >> also hangs after showing a few lines of "....... AnalysisEngineInstancePool. >> **destroy() was called". >> >> I know it's getting stuck somewhere, but my pipeline is very lightweight >> and it takes a few milliseconds directly without UIMA-AS. I would >> apperciate any help in troubleshooting this. >> >> Thanks! >> > > > > --e89a8ff252baac228704d8c027f4--