lennard0711
Member
Hello,
I encountered a problem with the official Docker Version of the Bot. If you have the container running for about 48h it will start to play chrome and tries to get all the RAM possible.
I don't know if it's because I have 2 bots running at the same time (but i don't really think so) or if it's a general Bug.
My current solution is a Systemd Timer that restarts the Bots every 24h but it's a pretty bad solution. I would try to find it out by myself what the exact cause is but I don't really have the time for that right now.
But here is some (probably) usless info about the system:
My 'docker-compose.yml':
diagSinusbot.sh output for Bot1:
diagSinusbot.sh output for Bot2:
I encountered a problem with the official Docker Version of the Bot. If you have the container running for about 48h it will start to play chrome and tries to get all the RAM possible.
I don't know if it's because I have 2 bots running at the same time (but i don't really think so) or if it's a general Bug.
My current solution is a Systemd Timer that restarts the Bots every 24h but it's a pretty bad solution. I would try to find it out by myself what the exact cause is but I don't really have the time for that right now.
But here is some (probably) usless info about the system:
My 'docker-compose.yml':
Code:
version: '3.1'
volumes:
teamspeak:
services:
app:
image: teamspeak
restart: always
ports:
- 9987:9987/udp
- 10011:10011
- 30033:30033
volumes:
- teamspeak:/var/ts3server/
environment:
TS3SERVER_LICENSE: accept
bot1:
image: sinusbot/docker
restart: always
ports:
- 8020:8087
volumes:
- ./bot1/scripts:/opt/sinusbot/scripts
- ./bot1/data:/opt/sinusbot/data
bot2:
image: sinusbot/docker
restart: always
ports:
- 8025:8087
volumes:
- ./bot2/scripts:/opt/sinusbot/scripts
- ./bot2/data:/opt/sinusbot/data
diagSinusbot.sh output for Bot1:
Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
- Operating System: Debian GNU/Linux 9.5 (stretch) (Docker)
- Kernel: Linux 4.9.0-8-amd64 x86_64
- Load Average: 2.41 1.48 1.27
- Uptime: 14 days, 16 hours, 32 minutes, 59 seconds
- OS x64 check: OK
- OS Updates: 0 (well done!)
- OS Missing Packages: None
- OS APT Last Update: 27.08.2018 11:54:34 UTC +00:00:00
- SHELL LOCALE LANG: (not set)
- Bot Start Script: not found
- DNS resolution check: www.sinusbot.com resolved to 104.28.15.74 -> OK
- HTTPS check with IPv4 mode: SUCCESS [Connection was established to www.sinusbot.com, CODE #200]
- HTTPS check with IPv6 mode: IGNORE
- CPU:
Architecture: x86_64
CPU(s): 4
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Model name: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
CPU MHz: 2199.996
Hypervisor vendor: KVM
Virtualization type: full
- RAM: 4.75 GB/11.73 GB in use (40%)
- SWAP: 0 B/0 B in use (0%) (SWAP disabled)
- DISK: 53.41 GB/293.37 GB in use (18%)
- Package versions:
+ libglib: 2.50.3-2
BOT INFORMATION
- Status: running (PIDs: 11, User: root)
- Webinterface: port locally reachable (Port: 8087)
- Binary: /opt/sinusbot/sinusbot
- Binary Info: MD5 Hash: 457224ee75d8a25d64eab6fc7465cd48, Perms: 755, User: root
- Version: 0.14.3-0e747fd
- TS3 Plugin: installed (md5 hash match)
- Bot Plugin: 9463787dd59286dea7a4a284409993c3
- TS3 Client: 9463787dd59286dea7a4a284409993c3
- Config:
- LogLevel =
- TS3Path = /opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 3.2.1)
- YoutubeDLPath = /usr/local/bin/youtube-dl (does exist, version: 2018.10.05)
- Installed scripts: Animated_Nickname.js; CountryGroup.js; CoverLoader_[Radio_Station_Support].js; Next_Track_Please.js; Reconnect.js; Steam_Server_Information.js; Youtube_Search.js; advertising.js; alonemode.js; bookmark.js; come.js; defaultChannel+.js; followme.js; groupProtection.js; norecording.js; osuStats.js; pizzaTimer.js; registerNotificator.js; rememberChannel.js; songBan.js; volumeKeeper.js; welcome.js
TIME INFORMATION
- Time (local): 21.10.2018 16:34:32 UTC +00:00:00
- Time (remote): <Failed retrieving remote time!>
- Time (difference): n/a secs
- Timezone: Etc/UTC
OTHER INFORMATION
- TeamSpeak 3 Version: 3.2.1
- youtube-dl Version: 2018.10.05
- DiagScript Version: 0.7.1
==========================================================
diagSinusbot.sh output for Bot2:
Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
- Operating System: Debian GNU/Linux 9.5 (stretch) (Docker)
- Kernel: Linux 4.9.0-8-amd64 x86_64
- Load Average: 1.86 1.43 1.28
- Uptime: 14 days, 16 hours, 36 minutes, 14 seconds
- OS x64 check: OK
- OS Updates: 0 (well done!)
- OS Missing Packages: None
- OS APT Last Update: 27.08.2018 11:54:34 UTC +00:00:00
- SHELL LOCALE LANG: (not set)
- Bot Start Script: not found
- DNS resolution check: www.sinusbot.com resolved to 104.28.15.74 -> OK
- HTTPS check with IPv4 mode: SUCCESS [Connection was established to www.sinusbot.com, CODE #200]
- HTTPS check with IPv6 mode: IGNORE
- CPU:
Architecture: x86_64
CPU(s): 4
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Model name: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
CPU MHz: 2199.996
Hypervisor vendor: KVM
Virtualization type: full
- RAM: 4.76 GB/11.73 GB in use (40%)
- SWAP: 0 B/0 B in use (0%) (SWAP disabled)
- DISK: 53.46 GB/293.37 GB in use (18%)
- Package versions:
+ libglib: 2.50.3-2
BOT INFORMATION
- Status: running (PIDs: 12, User: root)
- Webinterface: port locally reachable (Port: 8087)
- Binary: /opt/sinusbot/sinusbot
- Binary Info: MD5 Hash: 457224ee75d8a25d64eab6fc7465cd48, Perms: 755, User: root
- Version: 0.14.3-0e747fd
- TS3 Plugin: installed (md5 hash match)
- Bot Plugin: 9463787dd59286dea7a4a284409993c3
- TS3 Client: 9463787dd59286dea7a4a284409993c3
- Config:
- LogLevel = 3
- TS3Path = /opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 3.2.1)
- YoutubeDLPath = /usr/local/bin/youtube-dl (does exist, version: 2018.10.05)
- Installed scripts: Animated_Nickname.js; CountryGroup.js; CoverLoader_[Radio_Station_Support].js; Next_Track_Please.js; Reconnect.js; Steam_Server_Information.js; Youtube_Search.js; advertising.js; alonemode.js; bookmark.js; come.js; defaultChannel+.js; followme.js; groupProtection.js; norecording.js; osuStats.js; pizzaTimer.js; registerNotificator.js; rememberChannel.js; songBan.js; volumeKeeper.js; welcome.js
TIME INFORMATION
- Time (local): 21.10.2018 16:37:47 UTC +00:00:00
- Time (remote): <Failed retrieving remote time!>
- Time (difference): n/a secs
- Timezone: Etc/UTC
OTHER INFORMATION
- TeamSpeak 3 Version: 3.2.1
- youtube-dl Version: 2018.10.05
- DiagScript Version: 0.7.1
==========================================================