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


Hello Folks,

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=127.0.0.1,port=2220,tcpNoDelay=1;urp'
ii. unoconv --connection
'socket,host=127.0.0.1,port=2220,tcpNoDelay=1;urp;StarOffice.ComponentContext'
-f pdf <filename.rtf>



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=127.0.0.1,port=2220,tcpNoDelay=1;urp'
ii. unoconv --connection
'socket,host=127.0.0.1,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.

Kindly Suggest.

Thnak You.
ViCky Chawda.

-- 
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

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.