Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


Hi again :)

Just wanted to follow up on this thread. Running multiple Writers in the same (single) soffice.bin 
process seems to incur noticeable performance penalties. Therefore, in order to run several 
soffice.bin processes:

  - Get a uuid string.
  - Create random folder in /tmp/soffice-dir-uuid for the soffice.bin process.
  - Optional as Matthew Francis suggested: copy a cached soffice folder into /tmp/soffice-dir-uuid 
(to improve startup performance).
  - Run soffice --headless --accept="pipe,name=soffice-pipe-uuid;urp;StarOffice.ServiceManager" 
-env:UserInstallation=file:///tmp/soffice-dir-uuid  (Or call /path/to/soffice.bin directly.)

This allows me to run multiple processes of soffice, each of which services a single Writer. Is 
that how it should be done?

I'm curious: it sounded as if multi-threading within a single soffice.bin process is an issue. Any 
more details on that?

Thanks!
Jens

--
Jens Tröger
http://savage.light-speed.de/

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.