On 21/10/13 11:05 +0200, Mathias Behrle wrote:
> * 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.

This makes no sense as unoconv is run in a subprocess.


-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpMh4YRJWyK8.pgp
Description: PGP signature

Reply via email to