* Vincent (CloudSuite): " [tryton-dev] Unoconv stability" (Mon, 21 Oct 2013 01:18:40 -0700 (PDT)):
> Hi,
>
> I am curious to your experience with unoconv (a module part of OpenOffice /
> LibreOffice and
> used in Tryton to convert ODT files to PDF or other formats).
>
> We use LibreOffice 3.6, IIRC mainly because OpenOffice had Java
> dependencies that we did not want to install.
> We are also still on Tryton 2.4.
>
> On one of our production servers we have a lot of stability issues.
> Unoconv crashes several times a month and all we can do is kill the running
> soffice.bin and unoconv processes
> and restart the unoconv deamon. And then hope it will not happen again
> soon. When it does, the customer has to kill the client process to restart.
>
> On our development server it's quite stable. But on this machine unoconv is
> idle most of the time. On the
> production server it is much more busy, as I think about all of the
> customer's documents are in PDF format.
>
> Tryton 2.4 originally uses pipes, but we had even more stability problems
> with this. So I changed it to sockets:
> unoconv = socket,name=trytond;urp;StarOffice.ComponentContext
>
> And this is how I start the deamon:
> /opt/libreoffice3.6/program/soffice --display :0.0 --norestore --headless
> --accept=socket,host=localhost,port=2002
unoconv indeed is not threadsafe. Repeating the process as Ralf says
solves/workarounds for us this problem.
--
Mathias Behrle
MBSolutions
Gilgenmatten 10 A
D-79114 Freiburg
Tel: +49(761)471023
Fax: +49(761)4770816
http://m9s.biz
UStIdNr: DE 142009020
PGP/GnuPG key availabable from any keyserver, ID: 0x8405BBF6
signature.asc
Description: PGP signature
