• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Solved Sinusbot nutz über 8GB Ram

Markolonier

Active Member
Hallo zusammen,

Mein Sinusbot nutzt über 8,8 GB Ram. Zudem lädt er die Scriptseite nur, wenn der Bot nicht verbunden ist.
Ist das normal?

1578432304566.png

Vielen Dank,
Markolonier
 

Markolonier

Active Member
Hallo @Multivitamin,
Danke, der Sinusbot läuft leider immer noch nicht schneller.

1578492181749.png

Tut mir leid, die ReamMe habe ich wohl übersehen. Hier nachträglich die Daten :
Die Version ist jetzt 1.0.0-beta.10-202ee4d
Die Serverversion ist 3.9.1 Linux
Die Clientversion ist die des Installerscriptes.
Das OS mit Kernel ist 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64 GNU/Linux
Server: VPS
Prozessor: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz, 4 Kerne
RAM: 8 GB (garantiert)
2020-01-08T15:27:38+01:00 error on setTimeout/setInterval callback: Uncaught exception: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:15 recClient.chat(MsgRequestOutOfTime); ^ Stack trace: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:16 at Array.forEach (<anonymous>) at refuseRequest (Montys_Move_Request:126:8)
2020-01-08T15:27:33+01:00 error on setTimeout/setInterval callback: Uncaught exception: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:15 recClient.chat(MsgRequestOutOfTime); ^ Stack trace: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:16 at Array.forEach (<anonymous>) at refuseRequest (Montys_Move_Request:126:8)
2020-01-08T15:27:28+01:00 error on setTimeout/setInterval callback: Uncaught exception: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:15 recClient.chat(MsgRequestOutOfTime); ^ Stack trace: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:16 at Array.forEach (<anonymous>) at refuseRequest (Montys_Move_Request:126:8)
2020-01-08T15:27:23+01:00 error on setTimeout/setInterval callback: Uncaught exception: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:15 recClient.chat(MsgRequestOutOfTime); ^ Stack trace: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:16 at Array.forEach (<anonymous>) at refuseRequest (Montys_Move_Request:126:8)
2020-01-08T15:27:18+01:00 error on setTimeout/setInterval callback: Uncaught exception: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:15 recClient.chat(MsgRequestOutOfTime); ^ Stack trace: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:16 at Array.forEach (<anonymous>) at refuseRequest (Montys_Move_Request:126:8)
2020-01-08T15:27:13+01:00 error on setTimeout/setInterval callback: Uncaught exception: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:15 recClient.chat(MsgRequestOutOfTime); ^ Stack trace: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:16 at Array.forEach (<anonymous>) at refuseRequest (Montys_Move_Request:126:8)
2020-01-08T15:27:08+01:00 error on setTimeout/setInterval callback: Uncaught exception: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:15 recClient.chat(MsgRequestOutOfTime); ^ Stack trace: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:16 at Array.forEach (<anonymous>) at refuseRequest (Montys_Move_Request:126:8)
2020-01-08T15:27:08+01:00 Storing configuration.
2020-01-08T15:27:03+01:00 error on setTimeout/setInterval callback: Uncaught exception: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:15 recClient.chat(MsgRequestOutOfTime); ^ Stack trace: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:16 at Array.forEach (<anonymous>) at refuseRequest (Montys_Move_Request:126:8)
2020-01-08T15:27:03+01:00 queued serialized callback
2020-01-08T15:27:02+01:00 queued serialized callback
2020-01-08T15:27:02+01:00 queued serialized callback
2020-01-08T15:27:02+01:00 queued serialized callback
2020-01-08T15:27:01+01:00 queued serialized callback
2020-01-08T15:27:01+01:00 queued serialized callback
2020-01-08T15:27:01+01:00 queued serialized callback
2020-01-08T15:27:01+01:00 queued serialized callback
2020-01-08T15:27:01+01:00 TS/ERR 2564 e'access to default group is forbidden' x'' r'PR:{95e5e4b4-18ea-4102-ac10-c81276b1429c}:91/GCLL'
2020-01-08T15:27:00+01:00 TS |INFO | | |Statistics report: User has not yet confirmed participation
2020-01-08T15:27:00+01:00 TS |INFO |ClientUI | |Last update check was: Sat Jan 1 00:00:01 2022
2020-01-08T15:27:00+01:00 TS |INFO |Bookmarks | |Collecting autoconnect bookmarks
2020-01-08T15:27:00+01:00 New connection status 4; Error 0
2020-01-08T15:27:00+01:00 TS |INFO |ClientUI |1 |Connect status: Connection established
2020-01-08T15:27:00+01:00 New connection status 3; Error 0
2020-01-08T15:27:00+01:00 New connection status 2; Error 0
2020-01-08T15:27:00+01:00 TS |INFO |ClientUI |1 |Connect status: Establishing connection
2020-01-08T15:27:00+01:00 TS |INFO |ClientUI |1 |Connect status: Connected
2020-01-08T15:27:00+01:00 TS |DEVELOP |PktHandler | |Puzzle solve time: 4
2020-01-08T15:27:00+01:00 New connection status 1; Error 0
2020-01-08T15:27:00+01:00 TS |INFO |ClientUI |1 |Connect status: Connecting
2020-01-08T15:27:00+01:00 TS |INFO |PreProSpeex |1 |Speex version: 1.2rc1
2020-01-08T15:27:00+01:00 TS |INFO |ClientUI |1 |Initiating connection: 127.0.0.1:9987
2020-01-08T15:27:00+01:00 TS |INFO |ClientUI |1 |Connect to server: 127.0.0.1
2020-01-08T15:27:00+01:00 TS |INFO |ClientUI | |ts3server: 127.0.0.1?port=9987&nickname=Bot&password=&cid=1&channelpassword=
2020-01-08T15:27:00+01:00 TS |INFO |ClientUI | |Using configuration location: /opt/sinusbot/data/ts3/e4797085-6aa9-40da-97f7-02c86ec6c0c8/1c3ca9fa-ebd4-482d-9752-fab5436cda7d/settings.db
2020-01-08T15:27:00+01:00 TS |INFO |ClientUI | |Qt version: 5.12.1
2020-01-08T15:27:00+01:00 TS |INFO |ClientUI | |Failed to init text to speech engine
2020-01-08T15:27:00+01:00 TS |INFO | | |*** Time [INIT]: 270
2020-01-08T15:27:00+01:00 TS |INFO | | |*** Time [MAINWINDOW]: 269
2020-01-08T15:27:00+01:00 TS |INFO |Plugins | |Loading plugin: libsoundbot_plugin.so
2020-01-08T15:27:00+01:00 [Montys_Alarm_Message:82:22] 15:27
2020-01-08T15:26:59+01:00 TS |INFO | | |successfully downloaded revocation list for accounting
2020-01-08T15:26:59+01:00 TS |INFO | | |successfully downloaded revocation list for myteamspeak id
2020-01-08T15:26:59+01:00 TS |ERROR |Query | |bind failed on 127.0.0.1:25639
2020-01-08T15:26:59+01:00 TS |INFO |Plugins | |Loading plugin: libclientquery_plugin_linux_amd64.so
2020-01-08T15:26:59+01:00 TS |INFO |Addons | |Checking for addon updates...
2020-01-08T15:26:59+01:00 TS |ERROR |RevocationListCache| |Failed to import revocation list from cache
2020-01-08T15:26:59+01:00 TS |INFO |ClientUI | |Unable to create an Open GL context.
2020-01-08T15:26:59+01:00 TS |ERROR |SoundBckndIntf| |libpulse.so.0: cannot open shared object file: No such file or directory
2020-01-08T15:26:59+01:00 TS |INFO | | |Using hardware aes
2020-01-08T15:26:59+01:00 TS |INFO | | |SystemInformation: Linux 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64 Binary: 64bit
2020-01-08T15:26:59+01:00 TS |INFO | | |TeamSpeak Client 3.3.2 (2019-08-25 21:13:34)
2020-01-08T15:26:59+01:00 TS>DUMP defined! Dumpdir is: /opt/sinusbot/data/ts3/e4797085-6aa9-40da-97f7-02c86ec6c0c8/1c3ca9fa-ebd4-482d-9752-fab5436cda7d/crashdumps
2020-01-08T15:26:59+01:00 TS>Crashdump ENABLED, directory is: /opt/sinusbot/data/ts3/e4797085-6aa9-40da-97f7-02c86ec6c0c8/1c3ca9fa-ebd4-482d-9752-fab5436cda7d/crashdumps
2020-01-08T15:26:59+01:00 Starting instance ts3server://127.0.0.1?port=9987&nickname=Bot&password=&cid=1&channelpassword=
2020-01-08T15:26:59+01:00 Could not insert into FileTransfer-Tableno such table: FileTransfer
2020-01-08T15:26:59+01:00 Could not delete from FileTransferno such table: FileTransfer
2020-01-08T15:26:59+01:00 Could not insert into FileTransfer-Tableno such table: FileTransfer
2020-01-08T15:26:59+01:00 Could not delete from FileTransferno such table: FileTransfer
2020-01-08T15:26:59+01:00 Could not insert into FileTransfer-Tableno such table: FileTransfer
2020-01-08T15:26:59+01:00 Could not delete from FileTransferno such table: FileTransfer
2020-01-08T15:26:59+01:00 Could not insert into FileTransfer-Tableno such table: FileTransfer
2020-01-08T15:26:59+01:00 Could not delete from FileTransferno such table: FileTransfer
2020-01-08T15:26:59+01:00 Could not insert into FileTransfer-Tableno such table: FileTransfer
2020-01-08T15:26:59+01:00 Could not delete from FileTransferno such table: FileTransfer
2020-01-08T15:26:59+01:00 Could not insert into FileTransfer-Tableno such table: FileTransfer
2020-01-08T15:26:59+01:00 Could not delete from FileTransferno such table: FileTransfer
2020-01-08T15:26:59+01:00 Could not create Notifications-Tabletable Notifications already exists
2020-01-08T15:26:59+01:00 Could not create WhisperReceive-Tabletable WhisperReceive already exists
2020-01-08T15:26:59+01:00 Could not create Chat-Tabletable Chat already exists
2020-01-08T15:26:59+01:00 About to run.
2020-01-08T15:26:59+01:00 Prespawn.
2020-01-08T15:26:58+01:00 error on setTimeout/setInterval callback: Uncaught exception: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:15 recClient.chat(MsgRequestOutOfTime); ^ Stack trace: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:16 at Array.forEach (<anonymous>) at refuseRequest (Montys_Move_Request:126:8)
2020-01-08T15:26:53+01:00 error on setTimeout/setInterval callback: Uncaught exception: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:15 recClient.chat(MsgRequestOutOfTime); ^ Stack trace: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:16 at Array.forEach (<anonymous>) at refuseRequest (Montys_Move_Request:126:8)
2020-01-08T15:26:48+01:00 error on setTimeout/setInterval callback: Uncaught exception: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:15 recClient.chat(MsgRequestOutOfTime); ^ Stack trace: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:16 at Array.forEach (<anonymous>) at refuseRequest (Montys_Move_Request:126:8)
2020-01-08T15:26:43+01:00 error on setTimeout/setInterval callback: Uncaught exception: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:15 recClient.chat(MsgRequestOutOfTime); ^ Stack trace: TypeError: Cannot read property 'chat' of undefined at Montys_Move_Request:135:16 at Array.forEach (<anonymous>) at refuseRequest (Montys_Move_Request:126:8)
2020-01-08T15:26:38+01:00 imported module: command
2020-01-08T15:26:38+01:00 resolving module command
2020-01-08T15:26:38+01:00 [AFK_Mover_(AwayMuteDeafIdle):582:20] [WARN] AFK Channel not found on load.
2020-01-08T15:26:38+01:00 imported module: command
2020-01-08T15:26:38+01:00 resolving module command
2020-01-08T15:26:38+01:00 script badnickname loaded
2020-01-08T15:26:38+01:00 registered callback for event clientNick
2020-01-08T15:26:38+01:00 registered callback for event connect
2020-01-08T15:26:38+01:00 registered callback for event clientMove
2020-01-08T15:26:38+01:00 registered callback for event chat
2020-01-08T15:26:38+01:00 [ badnickname:45:24] Invalid Regex Format detected! > .*N[a4]nu.*
2020-01-08T15:26:38+01:00 [ badnickname:45:24] Invalid Regex Format detected! > .*M[a4]rk[o0][l1][o0]n[i1][e3]r.*
2020-01-08T15:26:38+01:00 [ badnickname:45:24] Invalid Regex Format detected! > .*D[o0]n[L1]up[o0].*
2020-01-08T15:26:38+01:00 [ badnickname:45:24] Invalid Regex Format detected! > .*3[L1][i1]t[e3]rM[i1][l1]ch.*
2020-01-08T15:26:38+01:00 [ badnickname:45:24] Invalid Regex Format detected! > .*3[L1][i1]t[e3]r.*
2020-01-08T15:26:38+01:00 [ badnickname:45:24] Invalid Regex Format detected! > .*[E3]rz_D[a4][s52]j[o0]m[s52].*
2020-01-08T15:26:38+01:00 [ badnickname:45:24] Invalid Regex Format detected! > .*[I1]t[s52][E3]mm[a4].*
2020-01-08T15:26:38+01:00 [ badnickname:45:24] Invalid Regex Format detected! > .*[[S52]t[a4]mmnutz[e3]r\].*
2020-01-08T15:26:38+01:00 [ badnickname:45:24] Invalid Regex Format detected! > .*[V[I1]P\].*
2020-01-08T15:26:38+01:00 [ badnickname:45:24] Invalid Regex Format detected! > .*[[B8][o0]t\].*
2020-01-08T15:26:38+01:00 [ badnickname:45:24] Invalid Regex Format detected! > .*[Y[o0]uTu[b8][e3]r\].*
2020-01-08T15:26:38+01:00 [ badnickname:45:24] Invalid Regex Format detected! > .*[Fr[e3]und\].*
2020-01-08T15:26:38+01:00 [ badnickname:45:24] Invalid Regex Format detected! > .*[M[o0]d\].*
2020-01-08T15:26:38+01:00 [ badnickname:45:24] Invalid Regex Format detected! > .*[[A4]dm[i1]n\].*
2020-01-08T15:31:23+01:00 LOGIN [admin] OK
2020-01-08T15:31:15+01:00 Loading instance://4c235816-51c0-a574-f070-407634419d50
2020-01-08T15:31:15+01:00 Loading instance://1be6799d-2ec2-67fd-35a3-818d21b38ddc
2020-01-08T15:31:14+01:00 Loading instance://1c3ca9fa-ebd4-482d-9752-fab5436cda7d
2020-01-08T15:31:14+01:00 Loading instance://910365a8-54bb-483d-8d15-bec4959c79d6
2020-01-08T15:31:14+01:00 Loading instance://dbf8aa8a-6e8b-c0b0-f8a3-e933edd94a83
2020-01-08T15:31:14+01:00 Loading instance://81e7847e-5b77-8e0a-fe94-c087421c5f37
2020-01-08T15:31:14+01:00 Loading instance://e00a7200-042f-a861-2aa0-71b1806dc3c2
2020-01-08T15:31:14+01:00 Loading instance://e852dbc9-c927-a41d-0a25-aab341d65793
2020-01-08T15:31:14+01:00 Loading instance://e6e06eb5-da22-c48a-8f36-46c8aa72ac97
2020-01-08T15:31:14+01:00 Loading instance://4087c430-f3e7-6909-402f-e630d3d80ba2
2020-01-08T15:31:14+01:00 Loading instance://c94ba88b-0435-f38a-bad0-c717fca71109
2020-01-08T15:31:14+01:00 Loading instance://ce12b801-8efa-bb13-a1ba-0fcca9feb39e
2020-01-08T15:31:14+01:00 Loading instance://7b996b03-1d13-e6ac-ab58-cac216c0de7b
2020-01-08T15:31:14+01:00 Loading instance://b9824a85-98b5-1c59-7d1a-79a0ed619df6
2020-01-08T15:31:13+01:00 Loading instances
TS3Path = "/opt/sinusbot/teamspeak3-client/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = "/opt/sinusbot/data/"
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 10
EnableProfiler = false
YoutubeDLPath = "/usr/local/bin/youtube-dl"
EnableDebugConsole = false
EnableInternalCommands = false
AllowStreamPush = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
ExternalFileBase = ""
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
HostnameMask = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "..."
IsProxied = false
DenyStreamURLs = []
Pragma = 0
UserAgent = ""

[YoutubeDL]
BufferSize = 524288
MaxDownloadSize = 419430400
MaxDownloadRate = 104857600
MaxSimultaneousChunkDownloads = 6
CacheStreamed = false
TimeoutSingleDownloader = 0
TimeoutMultiDownloader = 0
ChunkSize = 3145728

[TS3]
AvatarMaxWidth = 0
AvatarMaxHeight = 0
AllowGIF = false

[StreamRewrites]

[Scripts]
Debug = false
AllowReload = false
EnableTimer = false
DisableLegacyEvents = false
DevMode = false
ScriptTimeout = 5

[Themes]
Default = ""

[SpeechRecognition]
Enable = false

[FFmpeg]
UserAgent = "SinusBot (1.0.0-beta.5-b262b6a)"
WaitTime = 0

[DAV]
Enable = false

[XServer]
Delay = 0
Debug = false

[SHMem]
Enable = false
Size = 0
Delay = 0
Interval = 0

[RadioStations]
URL = ""
UpdateInterval = 0

[TTS]
Enabled = false
 

Multivitamin

Well-Known Member
Tier III
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
eventuell mal versuchen alle scripts zu deaktivieren und schauen ob der ram verbrauch dann runter geht
 

Markolonier

Active Member
Ich habe jetzt mal alle Scripts von allen Instanzen deaktiviert und der RAM verbrauch ist gefühlt immer noch zu hoch:

1578606478666.png

Ich habe 14 Instanzen, wobei nur 7 laufen und verbunden sind.
 

Flosing

Active Member
Tier I
Zitat aus der Doku
The sinusbot itself doesn't use lots of memory but reserves a fair amount. However, this doesn't count as used, so you don't need to worry about it. More details about memory usage on linux can be found here.
The actual TeamSpeak Client instances require more RAM, from which a big part is shared between multiple instances - so again: you probably don't need to worry about it.
If you TeamSpeak Server has an big/animated server banner than that will significantly increase RAM usage.

Vielleicht deswegen.
 
Top