Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
curl -T test_my_doc.pdf -H "Accept-Encoding: gzip" http://localhost:9998/rmeta


Making Tika Server Robust to OOMs, Infinite Loops and Memory Leaks in Tika 2.x

See below.  In Tika 2.x, the -spawnChild functionality is turned on by default.  This has the effect that tika-server may occasionally be unavailable when it is restarting.  Clients should have logic to wait for a restart if tika-server has had to restart.

To turn off this behavior and to go back to the more dangerous legacy behavior, start tika-server with the --noFork option. 

Making Tika Server Robust to OOMs, Infinite Loops and Memory Leaks in Tika 1.x

As of Tika 1.19, users can make tika-server more robust by running it with the -spawnChild option. This starts tika-server in a child process, and if there's an OOM, a timeout or other catastrophic problem with the child process, the parent process will kill and/or restart the child process.

...