[Ubuntu22+] Seems a system daemon will kill 'zombie' process in 120s(160s)

I have a shell script to clone big project(about 6.7Gb with toolchains tar package) from git server also do some directories movement. The script works well on Ubuntu 20.04 and previous version. But the GNOME terminal will be killed after running about 120s on Ubuntu 22.04 and about 160s on Ubuntu 24.04. Seems a system daemon regard my shell scripts as a ‘zombie’ process?

The version information is as below:

[Ubuntu 22.04]
Linux version 6.8.0-52-generic (buildd@lcy02-amd64-099) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #53~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jan 15 19:18:46 UTC 2

[Ubuntu 24.04]
Linux version 6.11.0-17-generic (buildd@lcy02-amd64-038) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #17~24.04.2-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 20 22:48:29 UTC 2

When I inspect the process with command “top”. I found a strange process “systemd-oomd”, then I found the answer :slight_smile:

https://askubuntu.com/questions/1404888/how-do-i-disable-the-systemd-oom-process-killer-in-ubuntu-22-04

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.