Ask Your Question

Using LibreOffice converting as service does it support multithreading

asked 2015-01-28 07:45:31 +0200

umen gravatar image

Hello all im new to libreoffice , im examining few solution to create central web service in organisation that handle converting documents manly my question are : 1. can i use libreoffice somehow as sevice / server mode so i could send it convert command.
2. can it support multithreaded requests ?
3.i saw this :
it looks like LibreOffice can be started as web server
my question is can i use this mode as backend server is it support multithreaded requests
4. if none of the above working can i use the headless mode CLI from web server for multithreaded requests?

Thanks for the helpers

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2018-02-27 13:52:20 +0200

Agustín gravatar image

updated 2018-02-27 13:52:55 +0200

I have the same problem,

  • Problem description: Libreoffice uses only one CPU out of many when convert, concat, insert fields in odt documents, I use Unoruntime

  • Installation: Libreoffice 4.4

Java version "1.7.0_91" OpenJDK Runtime Environment (IcedTea 2.6.2) (suse-21.2-x86_64) OpenJDK 64-Bit Server VM (build 24.91-b01, mixed mode)

SUSE Linux Enterprise Server 12 SP1 (x86_64)

  • Current behavior: it work very slowly, uses one CPU core at 100% percent, and doesn't use rest CPU cores. This behavior is in linux and windows systems.

  • Expected behavior: Libreoffice will use all avalable CPU cores.

edit flag offensive delete link more

answered 2015-03-24 14:37:40 +0200

  1. Yes
  2. No, but you can set up more servers/services on different ports.
  3. No, one request. But like above more server/services are possible
  4. You can use the headless mode, but here the same: Only one thread. You can use multiple installations an have on thread per installation.
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-01-28 07:45:31 +0200

Seen: 1,398 times

Last updated: Feb 27 '18