Zombie process
starrbuck68 opened this issue · comments
Ben commented
Describe the bug
The container has a zombie process.
To Reproduce using docker-compose
version: '2.4'
networks:
nordvpn:
external:
name: nordvpn
services:
nordvpn:
image: ghcr.io/bubuntux/nordvpn
container_name: nordvpn
cap_add:
- NET_ADMIN
restart: unless-stopped
environment:
- USER=USER
- PASS=PASS
- DNS=103.86.96.100,103.86.99.100
- TECHNOLOGY=NordLynx
#- TECHNOLOGY=OpenVPN
#- PROTOCOL=UDP
- CONNECT=United_States
- NET_LOCAL=192.168.1.0/24
ports:
- "8118:8118" # qBittorrent Web UI
- "6881:6881" # qBittorrent
- "6881:6881/udp" # qBittorrent UDP
networks:
- nordvpn
sysctls:
- net.ipv6.conf.all.disable_ipv6=1
mem_limit: 200m
mem_reservation: 100m
Expected behavior
There should be no zombie processes.
Logs
System Login:
Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.4.0-96-generic x86_64)
[...]
System information as of Wed 19 Jan 2022 11:20:11 AM CST
System load: 0.25
Usage of /: 27.9% of 116.12GB
Memory usage: 61%
Swap usage: 0%
Temperature: 41.0 C
Processes: 533
Users logged in: 0
[...]
=> There is 1 zombie process.
[...]
0 updates can be applied immediately.
No mail.
Last login: Wed Jan 19 11:16:17 2022 from 192.168.1.203
Container Processes:
root@36a11f8ba987:/# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 196 4 ? Ss 04:24 0:00 s6-svscan -t0 /var/run/s6/services
root 34 0.0 0.0 180 8 ? S 04:24 0:00 foreground if /etc/s6/init/init-stage2-redirfd f
root 35 0.0 0.0 196 4 ? S 04:24 0:00 s6-supervise s6-fdholderd
root 44 0.0 0.0 176 4 ? S 04:24 0:00 foreground s6-setsid -gq -- with-contenv backtic
root 477 0.0 0.0 196 4 ? S 04:24 0:00 s6-supervise nordvpn
root 480 0.0 0.0 3976 2940 ? Ss 04:24 0:00 /bin/bash ./run
root 487 0.3 0.2 6885148 71500 ? Sl 04:24 2:56 /usr/sbin/nordvpnd
root 490 0.0 0.0 0 0 ? Z 04:24 0:00 [s6-notifyonchec] <defunct> <======= ZOMBIE PROCESS
root 558 0.0 0.0 2608 592 ? S 04:24 0:00 /bin/sh -c nord_login && nord_config && nord_connect
root 801 0.0 0.0 3976 3192 ? S 04:24 0:00 /bin/bash /usr/bin/nord_watch
root 92518 0.0 0.0 2508 584 ? S 17:09 0:00 sleep 300
root 92943 1.0 0.0 4240 3324 pts/0 Ss 17:13 0:00 /bin/bash
root 92956 0.0 0.0 5896 2876 pts/0 R+ 17:13 0:00 ps aux
Additional context
Ubuntu 20.04.3 LTS
docker --version = Docker version 20.10.12, build e91ed57
docker-compose --version = docker-compose version 1.29.2, build 5becea4c
uname -a = Linux systemname 5.4.0-96-generic #109-Ubuntu SMP Wed Jan 12 16:49:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
github-actions commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.