Alexey
Member
Good evening,
Versions:
SinusBot 0.9.9-8f70ff3
root@vps208888:~# youtube-dl --version
2015.11.18
VPS station (Intel Xeon E312xx,2Gb ram)
I've got a lot of defunct processes of youtube-dl - before reboot more than 1000.
Can we do smthing to clear defunct processes excluding restart of bot?
Versions:
SinusBot 0.9.9-8f70ff3
root@vps208888:~# youtube-dl --version
2015.11.18
VPS station (Intel Xeon E312xx,2Gb ram)
root@vps208888:~# cat /opt/sinusbot/config.ini
ListenPort = 8087
ListenHost = "0.0.0.0"
TS3Path = "/opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
Loglevel = 10
YoutubeDLPath = "/usr/local/bin/youtube-dl"
root@vps208888:~#
ListenPort = 8087
ListenHost = "0.0.0.0"
TS3Path = "/opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
Loglevel = 10
YoutubeDLPath = "/usr/local/bin/youtube-dl"
root@vps208888:~#
I've got a lot of defunct processes of youtube-dl - before reboot more than 1000.
root@vps208888:~# ps -ef | grep def
ts3serv+ 1076 669 0 22:23 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1117 669 0 22:26 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1138 669 0 22:27 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1145 669 0 22:30 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1149 669 0 22:31 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1157 669 0 22:32 ? 00:00:00 [youtube-dl] <defunct>
root 1180 914 0 22:35 pts/1 00:00:00 grep --color=auto def
root@vps208888:~# ps -ef | grep 669
ts3serv+ 669 546 2 22:22 ? 00:00:17 /opt/sinusbot/sinusbot
ts3serv+ 986 669 7 22:23 ? 00:00:54 /opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 -nosingleinstance ts3server://ts1.voice-server.ru?port=9987&nickname=Music%20Bot%20MSK%20%5BVoice-Server%5D&password=&cid=2663626&channelpassword=
ts3serv+ 1030 669 8 22:23 ? 00:00:59 /opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 -nosingleinstance ts3server://ts10.voice-server.ru?port=9987&nickname=Music%20Bot%20EU%20%5BVoice-Server%5D&password=&cid=268402&channelpassword=
ts3serv+ 1076 669 0 22:23 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1117 669 0 22:26 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1138 669 0 22:27 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1145 669 0 22:30 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1149 669 0 22:31 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1157 669 0 22:32 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1173 669 1 22:33 ? 00:00:00 python /usr/local/bin/youtube-dl -f bestaudio -o - --max-downloads 1 --no-playlist --no-call-home --buffer-size 524288 --fixup none WZ2dPGpABvg
root 1182 914 0 22:35 pts/1 00:00:00 grep --color=auto 669
ts3serv+ 1076 669 0 22:23 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1117 669 0 22:26 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1138 669 0 22:27 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1145 669 0 22:30 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1149 669 0 22:31 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1157 669 0 22:32 ? 00:00:00 [youtube-dl] <defunct>
root 1180 914 0 22:35 pts/1 00:00:00 grep --color=auto def
root@vps208888:~# ps -ef | grep 669
ts3serv+ 669 546 2 22:22 ? 00:00:17 /opt/sinusbot/sinusbot
ts3serv+ 986 669 7 22:23 ? 00:00:54 /opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 -nosingleinstance ts3server://ts1.voice-server.ru?port=9987&nickname=Music%20Bot%20MSK%20%5BVoice-Server%5D&password=&cid=2663626&channelpassword=
ts3serv+ 1030 669 8 22:23 ? 00:00:59 /opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 -nosingleinstance ts3server://ts10.voice-server.ru?port=9987&nickname=Music%20Bot%20EU%20%5BVoice-Server%5D&password=&cid=268402&channelpassword=
ts3serv+ 1076 669 0 22:23 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1117 669 0 22:26 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1138 669 0 22:27 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1145 669 0 22:30 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1149 669 0 22:31 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1157 669 0 22:32 ? 00:00:00 [youtube-dl] <defunct>
ts3serv+ 1173 669 1 22:33 ? 00:00:00 python /usr/local/bin/youtube-dl -f bestaudio -o - --max-downloads 1 --no-playlist --no-call-home --buffer-size 524288 --fixup none WZ2dPGpABvg
root 1182 914 0 22:35 pts/1 00:00:00 grep --color=auto 669