Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-1560

Improve tika-server robustness via -spawnChild

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I'd encourage you to consider adopting the new -spawnChild mode in tika-server. See the documentation here: https://wiki.apache.org/tika/TikaJAXRS#Making%20Tika%20Server%20Robust%20to%20OOMs,%20Infinite%20Loops%20and%20Memory%20Leaks

      The small downside is that the server can go down for a few seconds during the restart. Clients have to be prepared for an IOException on files that are being parsed when the child server goes down and/or if the child is being restarted. The upside is that your users will be protected against infinite loops, OOM and memory leaks...things that we used to just hope never happened...but they do, and they will.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tallison@apache.org Tim Allison
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: