Ask Your Question

LibreOffice converting as service Performance Issue

asked 2015-10-05 09:12:54 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I have created a Service which accepts .rtf file and converts it to .pdf and sends it back.

I have used following two solutions,

  1. Calling it Directly sh /opt/libreoffice5.0/program/soffice --headless --convert-to pdf /opt/libreoffice5.0/program/sample.rtf

  2. Start Libre as a service and making a call by unoconv i. soffice --nologo --headless --nofirststartwizard --accept='socket,host=,port=2220,tcpNoDelay=1;urp' ii. unoconv --connection 'socket,host=,port=2220,tcpNoDelay=1;urp;StarOffice.ComponentContext' -f pdf <filename.rtf>

but none of them is performing well as a Web Service. LibreService gets crashed after 5 concurrent Requests. I want to Optimize it at least upto 50.

Thnak You.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2015-10-05 20:31:06 +0200

Alex Kemp gravatar image
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-10-05 09:12:54 +0200

Seen: 732 times

Last updated: Oct 05 '15