On Wed, 2 Jun 2021, Cristian Zamfir wrote:
1. Do you have a recommendation for a stress test that would allow me to
easily test OOM behavior?

Depends what kind of OOM you're interested in. If you fire a lot of memory-hungry documents at a single server at once, you can trigger an OOM. Alternately, if you send Tika one broken or nearly-broken document, you can trigger an OOM. We try to fix cases of the latter when we can, but they still occur, once of those is the easiest if you find one

2. For implementing a health check that detects when Tika is stuck, I could
periodically send a simple request and check that the reply is correct, do
you recommend a better approach?

Would /version work for you? Server needs to be up to reply, but it's a very lightweight endpoint

Nick

Reply via email to