[Libreoffice-bugs] [Bug 95843] Headless mode leaves zombie process

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Aug 11 13:17:37 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=95843

Tom Turelinckx <tom at turelinckx.be> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED
     Ever confirmed|1                           |0

--- Comment #8 from Tom Turelinckx <tom at turelinckx.be> ---
This problem is still present in 5.4.0.3.

Starting in headless mode results in one soffice.bin process and one defunct
child process:

resin     2692     1  0 12:23 pts/4    00:00:01
/usr/lib/libreoffice/program/soffice.bin --headless
resin     2693  2692  0 12:23 pts/4    00:00:00 [soffice.bin] <defunct>

The defunct process has state code Z, which the ps man page describes as:

Z    defunct ("zombie") process, terminated but not reaped by its parent

Killing 2692 results in 2693 disappearing as well.

This child process also disappears when connecting to the headless instance.
For example:

/usr/lib/libreoffice/program/soffice.bin --headless
--accept="socket,host=localhost,port=8100;urp;StarOffice.ServiceMana
ger" &

resin     2851     1  0 12:44 pts/4    00:00:01
/usr/lib/libreoffice/program/soffice.bin --headless --accept=socket,host
resin     2852  2851  0 12:44 pts/4    00:00:00 [soffice.bin] <defunct>

Once JODConverter connects to port 8100, process 2852 disappears. Subsequently
disconnecting from the instance and connecting again does NOT result in any new
defunct child processes. The headless instance works fine, functionality-wise.

We're typically using a command-line like this to start in headless mode:

/usr/lib/libreoffice/program/soffice.bin --headless --nologo --nodefault
--norestore --nocrashreport --nolockcheck --nof
irststartwizard
--accept="socket,host=localhost,port=8100;urp;StarOffice.ServiceManager"
"-env:UserInstallation=file:///
home/resin/.ooinst0" &

None of those additional parameters has any impact on this problem: the
behavior remains the same.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170811/4df244d0/attachment-0001.html>


More information about the Libreoffice-bugs mailing list