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 <[email protected]> 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 : > > > > <?xml version="1.0" encoding="UTF-8"?> > > <cpeDescription xmlns="http://uima.apache.org/resourceSpecifier"> > > <collectionReader> > > <collectionIterator> > > <descriptor> > > <include > href="/F:/...../descriptors/collection_readers/XCasCollectionReader.xml" > /> > > </descriptor> > > <configurationParameterSettings> > > <nameValuePair> > > <name>InputDirectory</name> > > <value> > > <string>g:/Luxid/bugs/5092/data/xcas</string> > > </value> > > </nameValuePair> > > </configurationParameterSettings> > > </collectionIterator> > > </collectionReader> > > <casProcessors casPoolSize="5" processingUnitThreadCount="4"> > > <casProcessor deployment="remote" name="SleepBSH"> > > <descriptor> > > <include > href="c:\temp\AnnotClient_Default_SleepBSH.xml"/> > > </descriptor> > > <deploymentParameters> > > <parameter name="vnsHost" type="string" value=" ???"/> > > <parameter name="vnsPort" type="string" value="9000"/> > > <parameter name="service-access" type="string" > value="exclusive"/> > > </deploymentParameters> > > <errorHandling> > > <errorRateThreshold action="continue" value="1/1000"/> > > <maxConsecutiveRestarts action="continue" value="0"/> > > <timeout max="30000" default="-1"/> > > </errorHandling> > > <checkpoint batch="1" time="1000ms"/> > > </casProcessor> > > <casProcessor deployment="integrated" name="CasConsumer"> > > <descriptor> > > <include > href="/F:/....../descriptors/cas_consumers/XCasWriterCasConsumer.xml"/> > > </descriptor> > > <deploymentParameters/> > > <errorHandling> > > <errorRateThreshold action="terminate" > value="100/1000"/> > > <maxConsecutiveRestarts action="terminate" value="30"/> > > <timeout max="100000" default="-1"/> > > </errorHandling> > > <checkpoint batch="1" time="1000ms"/> > > <configurationParameterSettings> > > <nameValuePair> > > <name>OutputDirectory</name> > > <value> > > <string>c:/temp/XCasDirectory</string> > > </value> > > </nameValuePair> > > </configurationParameterSettings> > > </casProcessor> > > </casProcessors> > > <cpeConfig> > > <numToProcess>-1</numToProcess> > > <deployAs>immediate</deployAs> > > <checkpoint batch="0" time="300000ms"/> > > <timerImpl/> > > </cpeConfig> > > </cpeDescription> > >
