Univention Bugzilla – Bug 7735
[CLI] does not cleanup zombie child processes
Last modified: 2024-03-07 13:07:21 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.
Created attachment 602 [details] ps output
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.
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>
Reported again in the forum https://forge.univention.org/bugzilla/show_bug.cgi?id=7735
https://help.univention.com/t/udm-zombie-prozess/16156/2
fix(udm): fix udm-cli zombie processes
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(-)
Great! OK: No zombie children can be observed anymore OK: Advisory
<https://errata.software-univention.de/#/?erratum=5.0x991>