Bug 7735 - [CLI] does not cleanup zombie child processes
[CLI] does not cleanup zombie child processes
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UDM - CLI
UCS 5.0
All Linux
: P4 normal (vote)
: UCS 5.0-6-errata
Assigned To: Philipp Hahn
Florian Best
https://git.knut.univention.de/univen...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-12 10:32 CET by Sönke Schwardt-Krummrich
Modified: 2024-03-07 13:07 CET (History)
4 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.103
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
ps output (615 bytes, text/plain)
2007-02-12 10:33 CET, Sönke Schwardt-Krummrich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2007-02-12 10:32:09 CET
Auf einem 1.3-2-System sammelt der CLI Zombie-Prozesse nicht ein. Das Problem erledigt sich zwar, wenn sich der CLI-Server nach dem Timeout beendet, aber 'gut' ist das trotzdem nicht.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2007-02-12 10:33:30 CET
Created attachment 602 [details]
ps output
Comment 2 Stefan Gohmann univentionstaff 2014-02-18 21:23:12 CET
This issue has been filed against UCS 1.

UCS 1 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug". In this case please provide detailed information on how this issue is affecting you.
Comment 3 Philipp Hahn univentionstaff 2020-07-17 09:25:32 CEST
This is still the case with UCS-5.0 and easy to reproduce:
$ for ((a=0;a<10;a++));do udm computers/computer list;done >/dev/null
$ ps axf
…
18170 ?        Ss     0:00 /usr/bin/python3 /usr/share/univention-directory-manager-tools/univention-cli-server
18171 ?        Z      0:00  \_ [univention-cli-] <defunct>
18173 ?        Z      0:00  \_ [univention-cli-] <defunct>
18175 ?        Z      0:00  \_ [univention-cli-] <defunct>
18177 ?        Z      0:00  \_ [univention-cli-] <defunct>
18179 ?        Z      0:00  \_ [univention-cli-] <defunct>
18181 ?        Z      0:00  \_ [univention-cli-] <defunct>
18183 ?        Z      0:00  \_ [univention-cli-] <defunct>
18185 ?        Z      0:00  \_ [univention-cli-] <defunct>
18187 ?        Z      0:00  \_ [univention-cli-] <defunct>
18189 ?        Z      0:00  \_ [univention-cli-] <defunct>
Comment 4 Andreas Peichert univentionstaff 2020-09-24 11:52:55 CEST
Reported again in the forum
https://forge.univention.org/bugzilla/show_bug.cgi?id=7735
Comment 5 Andreas Peichert univentionstaff 2020-09-24 11:55:02 CEST
https://help.univention.com/t/udm-zombie-prozess/16156/2
Comment 6 Philipp Hahn univentionstaff 2024-02-28 20:02:39 CET
fix(udm): fix udm-cli zombie processes
Comment 7 Philipp Hahn univentionstaff 2024-02-28 22:08:06 CET
Package: univention-directory-manager-modules
Version: 15.0.25-12
Branch: ucs_5.0-0
Scope: errata5.0-6

[5.0-6] f0d0e721c2 refactor(udm): simplify timeout handling
 management/univention-directory-manager-modules/univention-cli-server | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

[5.0-6] 9448f8f069 fix(udm): fix udm-cli zombie processes
 doc/errata/staging/univention-directory-manager-modules.yaml          |  3 ++-
 management/univention-directory-manager-modules/univention-cli-server | 23 +++++++++++++----------
 2 files changed, 15 insertions(+), 11 deletions(-)
Comment 8 Florian Best univentionstaff 2024-03-01 09:41:02 CET
Great!
OK: No zombie children can be observed anymore
OK: Advisory