Return-Path: Delivered-To: apmail-incubator-uima-user-archive@minotaur.apache.org Received: (qmail 56304 invoked from network); 1 Apr 2010 06:50:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Apr 2010 06:50:26 -0000 Received: (qmail 76334 invoked by uid 500); 1 Apr 2010 06:50:26 -0000 Delivered-To: apmail-incubator-uima-user-archive@incubator.apache.org Received: (qmail 76125 invoked by uid 500); 1 Apr 2010 06:50:22 -0000 Mailing-List: contact uima-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-user@incubator.apache.org Delivered-To: mailing list uima-user@incubator.apache.org Received: (qmail 76114 invoked by uid 99); 1 Apr 2010 06:50:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Apr 2010 06:50:22 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,T_FRT_BELOW2 X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [193.168.50.54] (HELO SMT02001.global-sp.net) (193.168.50.54) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Apr 2010 06:50:15 +0000 Received: from EXV01001.GlobalSP.local (unknown [172.20.30.2]) by SMT02001.global-sp.net (Postfix) with ESMTP id E140C694289 for ; Thu, 1 Apr 2010 08:49:50 +0200 (CEST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: RE : UIMA-2.3 : CPE timeout problem with remote processors. Date: Thu, 1 Apr 2010 08:48:16 +0200 Message-ID: <3D75841CCAED41408E7F85CAA9E9D2930188BAD4@EXV01001.GlobalSP.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RE : UIMA-2.3 : CPE timeout problem with remote processors. Thread-Index: AcrQ6UHyL8TEjpjPTwupQeZ6RJK5fQAe0RBQ References: From: "Muon Le" To: X-global-asp-net-MailScanner-ID: E140C694289.AF8D7 X-global-asp-net-MailScanner: Found to be clean X-global-asp-net-MailScanner-SpamCheck: X-MailScanner-From: muon.le@temis.com X-Virus-Checked: Checked by ClamAV on apache.org My CPE has a collection reader which reads 12 small XCas files (<10Ko) = in disk and sends to the remote processor SleepBSH which simulates a = delay processing (more than processor timeout value defined in CPE). My test aims to see the behavious of the CPE when there are errors = timeout in remote processors. So, with small XCas files or Txt files, the CPE detects all timout = errors provided by the remote processor through Vinci and terminates and = indicates 12 errors. But, with 12 bigs XCas files (> 100Ko), the CPE starts to detect timeout = errors provided by the remote processor and hangs until the remote = processor was killed. Thank you for your helps. Muon. -----Message d'origine----- De=A0: Jaroslaw Cwiklik [mailto:uimaee@gmail.com]=20 Envoy=E9=A0: mercredi 31 mars 2010 17:45 =C0=A0: uima-user@incubator.apache.org Objet=A0: Re: RE : UIMA-2.3 : CPE timeout problem with remote = processors. Muon, can you complete analysis of any small documents? Are you getting client side timeout on ALL of the small docs? JC On Wed, Mar 31, 2010 at 11:36 AM, Muon Le wrote: > More accuratly, with small files, there are errors about timeout, but = the > CPE terminates properly (without handling). > > Muon. > > > -------- Message d'origine-------- > De: Muon Le [mailto:muon.le@temis.com] > Date: mer. 31/03/2010 16:27 > =C0: uima-user@incubator.apache.org > Objet : RE: UIMA-2.3 : CPE timeout problem with remote processors. > > Hello, > > No, with small files, there are no problems. > > No. Here is the description file: > > - > AnalysisEngine > com.temis.Default.SleepBSH > Vinci > > > Yes, here is a sample of error message in logs: > WARN - 2010-03-29 16:09:44,312 - [Procesing Pipeline#4 Thread]:: - > [MDC:{{docid, > = http://www.ardenno.com/pressreleases/news_04sept07.php--Cnt6183}{module,W= orkflow}{host,racine}{submodule,racine}{workflow,Bug5092}}][THREAD:[Proce= singPipeline#4 > = Thread]::][LOGGER:org.apache.uima.collection.impl.cpm.container.deployer.= VinciTAP][NDC:null] > java.net.SocketTimeoutException: Read timed out > at java.net.SocketInputStream.socketRead0(Native Method) > at java.net.SocketInputStream.read(Unknown Source) > at java.io.BufferedInputStream.fill(Unknown Source) > at java.io.BufferedInputStream.read(Unknown Source) > at > = org.apache.vinci.transport.XTalkTransporter.fromStream(XTalkTransporter.j= ava:61) > at org.apache.vinci.transport.Frame.fromStream(Frame.java:150) > at > = org.apache.vinci.transport.BaseClient.sendAndReceiveWork(BaseClient.java:= 650) > at > = org.apache.vinci.transport.BaseClient.sendAndReceiveWork(BaseClient.java:= 666) > at > = org.apache.vinci.transport.BaseClient.sendAndReceive(BaseClient.java:383)= > at > = org.apache.uima.collection.impl.cpm.container.deployer.VinciTAP.sendAndRe= ceive(VinciTAP.java:453) > at > = org.apache.uima.collection.impl.cpm.container.deployer.VinciTAP.analyze(V= inciTAP.java:927) > at > = org.apache.uima.collection.impl.cpm.container.NetworkCasProcessorImpl.pro= cess(NetworkCasProcessorImpl.java:198) > at > = org.apache.uima.collection.impl.cpm.engine.ProcessingUnit.processNext(Pro= cessingUnit.java:826) > at > = org.apache.uima.collection.impl.cpm.engine.ProcessingUnit.run(ProcessingU= nit.java:577) > > Thanks for your helps. > Muon. > > -----Message d'origine----- > De : Jaroslaw Cwiklik [mailto:uimaee@gmail.com] > Envoy=E9 : mercredi 31 mars 2010 15:39 > =C0 : uima-user@incubator.apache.org > Objet : Re: UIMA-2.3 : CPE timeout problem with remote processors. > > Do you also observe a hang with small files? > Does client descriptor c:\temp\AnnotClient_Default_SleepBSH.xml name = the > same vns host and port that the service is using? > Any exceptions in logs( service or client side)? > JC > > On Tue, Mar 30, 2010 at 9:21 AM, Muon Le wrote: > > > Hello, > > > > > > > > I launch a simple CPE (see bellow) that maintains a remote processor > > with a timeout defined at 30000ms. > > > > The CPE hangs when the processor processes bigs files (10 files > = 100ko) > > despite the timeout value. > > > > > > > > Do you have any idea of this problem ? > > > > > > > > Thanks in advance, > > > > Muon. > > > > PS. My CPE description : > > > > > > > > > > > > > > > > > > > > > > > > > > > > > = href=3D"/F:/...../descriptors/collection_readers/XCasCollectionReader.xml= " > > /> > > > > > > > > > > > > > > > > InputDirectory > > > > > > > > g:/Luxid/bugs/5092/data/xcas > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > href=3D"c:\temp\AnnotClient_Default_SleepBSH.xml"/> > > > > > > > > > > > > > > > > > > > > > value=3D"exclusive"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > = href=3D"/F:/....../descriptors/cas_consumers/XCasWriterCasConsumer.xml"/>= > > > > > > > > > > > > > > > > > value=3D"100/1000"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > > OutputDirectory > > > > > > > > c:/temp/XCasDirectory > > > > > > > > > > > > > > > > > > > > > > > > > > > > -1 > > > > immediate > > > > > > > > > > > > > > > > > > > > > >