soffice headless on server consumes 100% CPU
Jan-Marek Glogowski
glogow at fbihome.de
Thu May 23 12:22:18 UTC 2019
Hi Manfred,
Am 23.05.19 um 12:47 schrieb Manfred Rebentisch:
> Am 23.05.19 um 12:29 schrieb Jan-Marek Glogowski:> Hi Manfred,
>>
>> Am 23.05.19 um 06:29 schrieb Manfred Rebentisch:
>>> if I call the headless mode:
>>>
>>> # /usr/lib/libreoffice/program/soffice --headless --nologo --norestore
>>> --accept="uno:socket,host=localhost,port=2083;urp" &
Hmm - also happens for my master build.
"make debugrun" uses '--accept=pipe,name=glg;urp;'
and in fact
'--accept=socket,host=localhost,port=2083;urp'
"works" (I don't see the busy-loop and 'netstat -ltp' shows the LO process, but
I didn't test it) and doesn't throw a never reported rtl::MalformedUriException,
which causes the "URP Acceptor" to run in a busy loop.
So at least the soffice --help documentation is wrong, so is probably
bean/com/sun/star/comp/beans/LocalOfficeConnection.java, but maybe for Java the
uno: prefix is still correct?
This means there are actually two bugs: wrong documentation and the busy-loop.
Would be nice if you can file a bug report[1].
HTH
Jan-Marek
[1] https://bugs.documentfoundation.org/
More information about the LibreOffice
mailing list