You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2021/10/26 16:16:00 UTC

[jira] [Commented] (TIKA-3584) tika async should keep going even if unable to restart a forked process

    [ https://issues.apache.org/jira/browse/TIKA-3584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17434453#comment-17434453 ] 

Hudson commented on TIKA-3584:
------------------------------

SUCCESS: Integrated in Jenkins build Tika ยป tika-main-jdk8 #346 (See [https://ci-builds.apache.org/job/Tika/job/tika-main-jdk8/346/])
TIKA-3584 -- allow retries for forked process startup timeouts; and do not swallow InterruptedExceptions (tallison: [https://github.com/apache/tika/commit/c5440102b7317314f757dfcbabc11905995c568b])
* (edit) tika-core/src/main/java/org/apache/tika/pipes/PipesServer.java
* (edit) tika-core/src/main/java/org/apache/tika/pipes/PipesConfigBase.java
* (edit) tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/resource/PipesResource.java
* (edit) tika-core/src/main/java/org/apache/tika/pipes/PipesParser.java
* (edit) tika-core/src/main/java/org/apache/tika/pipes/PipesClient.java
* (edit) tika-core/src/main/java/org/apache/tika/pipes/async/AsyncProcessor.java


> tika async should keep going even if unable to restart a forked process
> -----------------------------------------------------------------------
>
>                 Key: TIKA-3584
>                 URL: https://issues.apache.org/jira/browse/TIKA-3584
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Major
>
> I initially set up async to crash if a client couldn't start/restart a forked process after {{startupTimeoutMillis}}.  I'm seeing now that if I peg a machine (e.g. configure too many forked processes or send evil documents), there are times when the forked process cannot restart even within a fairly large window.
> I propose that we sleep some configurable amount if there's a timeout during the start/restart.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)