I’m using libreoffice/openoffice as a headless process to handle some document conversion tasks on my server that I “submit” via unoconv. Once in a while, the process that actually does the work, soffice.bin, seems to get wedged. I tried playing around with strace and saw that when launching new unoconv instances, they still connect and talk to the soffice process, just that nothing else happens after the ‘bad’ document goes in. If it were so simply as to just detect that soffice does not talk to incoming sockets any more, it’d be easy to write a watchdog. But it’s not that simple, apparently. Any ideas how to tell when things have gone south?
I’m using libreoffice/openoffice as a headless process to handle some document conversion tasks on
Share
Here’s what I set up as a cron job:
Seems to work ok.