Peter,
I don’t have any immediate solutions, but there are two options in the
pipeline (probably Tika 1.8):
1) Lewis John McGibbney on TIKA-894 is going to add a war/webapp.
2) I plan to open an issue related to TIKA-1330 that will make our current
jax-rs tika-server more robust to OOM and permanent hangs, i.e. the server
process will shut itself down if it encounters either of these, and a watcher
process will restart the server process… as currently happens in the dev
version of TIKA-1330.
This is an interest close to my heart, and I look forward to hearing how
others are handling this.
Best,
Tim
From: Peter Bowyer [mailto:[email protected]]
Sent: Thursday, January 08, 2015 6:47 AM
To: [email protected]
Subject: Running tika-server as a service
Hi,
I want to ensure tika-server is always running, and continues to after restarts
etc.
I have a hacked together an init script (this being CentOS release 6.6) that
seems to work (it's running, though not restarted the server yet to test) but
it's an ugly way to manage things.
How do you keep tika-server running? A daemon manager like daemon tools?
Handcrafted init.d/upstart/systemd scripts? Is anyone able to share what they
use?
Thanks,
Peter