Open lusu007 opened 6 years ago
Please provide more info on your environment/server (e.g. OS, kernel, VM or bare metal, how much memory, architecture). Also post the docker info
output.
Distributor ID: Debian Description: Debian GNU/Linux 9.5 (stretch) Release: 9.5 Codename: stretch Architecture: amd64
Its an VPS from OVH located in Limburg. 1 vCore (2% load average) 2 GB RAM 50 GB HDD
docker info
: Here
@lusu007 I'm unable to reproduce this on a Hetzner 1vCPU and 2GB, and 2vCPU 4GB.
Are you able to reproduce the issue on another VM and/or with another provider?
@galexrt Sorry but this is my only server at the moment. Do you have any other ideas?
I tried testwise the official sinusbot image and reinstalled yours. On both installations I get this error message:
Attaching to sinusbot sinusbot | Copied original scripts to the volume sinusbot | Updating youtube-dl... sinusbot | Updating to version 2018.09.01 ... sinusbot | Updated youtube-dl. Restart youtube-dl to use the new version. sinusbot | youtube-dl updated sinusbot | Starting SinusBot... sinusbot | PID: 12 sinusbot | fatal error: runtime: out of memory
@lusu007 Try checking if this issue occurs in a VM with more RAM at OVH.
If this also doesn't work, search the Sinusbot forums for the error and ask for help.
@galexrt I did not have the opportunity to test this on an other OVH VM.
I installed Sinusbot on this server a few times but without Docker. The installation only works without Docker. Regarding to this, its a problem with you Docker image and not with my server.
@galexrt I just tested it on my development machine.
Specs: Windows 10 Pro 64bit, i7 6700k, 16GB RAM, EVGA GTX 980
Sinusbot runs without problems.
For me it doesn't seem to be a problem with the docker image itself. Are you sure you are using the latest version of Docker and have enough free Ram? This error just seems that the TS Client and the YT-dl can't start because of not enough free memory. For me my bot is using between 600 and 800mb of free Ram, so you should make sure not to set up limits below that.
@Horstexplorer I have 1.2GB free RAM on my server and my Docker version is: Docker version 18.06.1-ce, build e68fc7a
Is it possible that docker is limited to a specified amount of RAM?
I'm not sure but I don't think so. It is possible to limit the memory of a docker with something like "docker run -m size ...." but I don't think that docker itself is limited.
@Horstexplorer Okay.
I really dont know what the problem is. I have no idea.
Hey,
im trying to install a sinusbot instance via your docker image on my server.
But I get the following error when I lookup the latest logs with docker logs [id]:
2018/09/03 08:02:45 ac917f7c 3c8a7ee0 ERROR Error spawning instancefork/exec /sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64: cannot allocate memory
YouTubeDL also reported:
2018/09/03 08:02:45 fork/exec /usr/local/bin/youtube-dl-speedpatched: cannot allocate memory youtube-dl not found
The whole log can you find here.
I followed your installation instructions.
What do I have to do to fix this error?