uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Muon Le" <muon...@temis.com>
Subject UIMA-2.3 : CPE timeout problem with remote processors.
Date Tue, 30 Mar 2010 13:21:25 GMT
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>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message