Zombie git processes pile up in the OneDev Docker container #3212
David Hein opened 10 hours ago

Thanks for OneDev, it's a great tool for self-hosting Git repositories.

I run OneDev as a Docker container on an Ubuntu server. Zombie processes keep building up over time. Each time I log in to the server, I see this message:
=> There are 33 zombie processes.
The message goes away after I update or restart the OneDev container, but the zombies come back later.

After updating the OneDev container this message is gone.

Inside the OneDev container, the zombie processes are defunct git processes:

root@cf7a5f096e02:/# ps -aux
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root           1  0.4  0.0  13072  1168 ?        Ssl  12:14   0:07 /opt/onedev/boot/wrapper-linux-x86-64 /opt/onedev/con
root         115  6.0 14.1 24796116 3967908 ?    Sl   12:14   1:34 java -Djava.awt.headless=true -Djdk.io.File.allowDele
root         684  0.0  0.0      0     0 ?        Zs   12:22   0:00 [git] <defunct>
root         849  0.0  0.0      0     0 ?        Zs   12:38   0:00 [git] <defunct>
root         856  0.0  0.0      0     0 ?        Zs   12:38   0:00 [git] <defunct>
root         864  0.0  0.0      0     0 ?        Zs   12:38   0:00 [git] <defunct>
root         873  0.0  0.0      0     0 ?        Zs   12:38   0:00 [git] <defunct>
root         881  0.0  0.0      0     0 ?        Zs   12:38   0:00 [git] <defunct>

Environment / Setup

  • Host OS: Ubuntu Server
  • Deployment: Docker container
  • Job executor: Default job executor
  • Workflow: A pipeline pulls from GitHub repositories and pushes to repositories in OneDev.
1/1
Type
Bug
Priority
Normal
Assignee
Affected Versions
17.0.0
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-3212
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover