4 ms·
what's your experience running soffice server-side? I might have to do this soon, and I'm dreading it.
by marcus_holmes 7y ago
what's your experience running soffice server-side? I might have to do this soon, and I'm dreading it.
- slowenough 7y agoMy experience is relatively small. The `convert` script of ImageMagick calls soffice by default if the input file is a LibreOffice type. I actually started writing a shell script to detect if it was DOCX etc, and run soffice first, but then I found out that ImageMagick does that automatically, if libreoffice is installed.
- marcus_holmes 7y agohmm, OK, I didn't know that. Thanks that's useful :) Be interesting to see how your demo site holds up under HN front page traffic - I know Imagemagic is used a lot for random web sites, but I worry about scale a lot. Any info would be useful!
- slowenough 7y agono probs. if you want to email me I can let you know once it all quiets down.
- marcus_holmes 7y agosent :)
- ztravis 7y agoIt's actually not too bad. You can run a pool of soffice processes, but unless you really care about the startup time, I'd suggest running individual processes per job, which you can run headless from the command line. For the most part libreoffice does well, although at some point you'll start to discover the quirks in their rendering...
- lixtra 7y agoWe’ve been running it as part of alfresco. It’s not very stable and hangs every few weeks. Since we kill it every night we didn’t notice any problems.
- marcus_holmes 7y agogood tip, thanks