• Hey Guest, we're evolving the future of TeaSpeak.
    You're invited to join the discussion here!

Pending Server restarted every day

n0ns

Well-known member
How can I check the reason my server has been restarted?
Apparently there are no crashdumps
That is between 1 to 2 days but I still can not say the reason.
I use the latest version 1.2.31-beta-2 (optmized)
The server is started automatically by the crontab that checks it for me
 

n0ns

Well-known member
Last lines of the log where the process was apparently terminated:

Code:
[2018-12-16 10:55:45] [DEBUG]   116 | [Property] Changed property in db key: client_month_online_time value: 3840
[2018-12-16 10:55:45] [DEBUG]   116 | [Property] Changed property in db key: client_total_online_time value: 3840
[2018-12-16 10:55:45] [DEBUG]    68 | [Property] Changed property in db key: client_month_online_time value: 609360
[2018-12-16 10:55:45] [DEBUG]    68 | [Property] Changed property in db key: client_total_online_time value: 2155320
[2018-12-16 10:55:45] [ERROR] Timer InstanceHandler::tickInstance -> statistics tick needs more than 17 milliseconds. Max allowed was 5 milliseconds.
[2018-12-16 10:55:45] [DEBUG]    69 | [Permission] Value test result for test type 1.
[2018-12-16 10:55:45] [DEBUG]    69 | [Permission]    Permission: b_client_remoteaddress_view Required value: 1 Gained value: -2 Force required: 1 Channel: ╠● ( ͡° ͜ʖ ͡°) Dan e Leo - ENTRO BAN Result: 0
[2018-12-16 10:55:46] [DEBUG]    69 | [Permission] Value test result for test type 1.
[2018-12-16 10:55:46] [DEBUG]    69 | [Permission]    Permission: b_client_remoteaddress_view Required value: 1 Gained value: -2 Force required: 1 Channel: ╠● ( ͡° ͜ʖ ͡°) Dan e Leo - ENTRO BAN Result: 0
[2018-12-16 10:55:47] [DEBUG]   237 | [Property] Changed property in db key: client_month_online_time value: 114840
[2018-12-16 10:55:47] [DEBUG]   237 | [Property] Changed property in db key: client_total_online_time value: 114840
[2018-12-16 10:55:47] [DEBUG]   116 | [Property] Changed property in db key: client_month_online_time value: 4920
[2018-12-16 10:55:47] [DEBUG]   116 | [Property] Changed property in db key: client_total_online_time value: 4920
[2018-12-16 10:55:47] [DEBUG]    69 | [Permission] Value test result for test type 1.
[2018-12-16 10:55:47] [DEBUG]    69 | [Permission]    Permission: b_client_remoteaddress_view Required value: 1 Gained value: -2 Force required: 1 Channel: ╠● ( ͡° ͜ʖ ͡°) Dan e Leo - ENTRO BAN Result: 0
[2018-12-16 10:55:48] [DEBUG]   130 | [Property] Changed property in db key: client_month_online_time value: 281160
[2018-12-16 10:55:48] [DEBUG]   130 | [Property] Changed property in db key: client_total_online_time value: 584040
[2018-12-16 10:55:48] [DEBUG]    69 | [Permission] Value test result for test type 1.
[2018-12-16 10:55:48] [DEBUG]    69 | [Permission]    Permission: b_client_remoteaddress_view Required value: 1 Gained value: -2 Force required: 1 Channel: ╠● ( ͡° ͜ʖ ͡°) Dan e Leo - ENTRO BAN Result: 0
[2018-12-16 10:55:49] [DEBUG]    69 | [Property] Changed property in db key: client_month_online_time value: 447600
[2018-12-16 10:55:49] [DEBUG]    69 | [Property] Changed property in db key: client_total_online_time value: 974880
[2018-12-16 10:55:49] [DEBUG]   116 | [189.68.116.123:58171/goleirovqv | 30] Update client variable via 'clientupdate'. Variable name: client_output_muted, Variable value: 1
[2018-12-16 10:55:49] [ERROR] Timer VoiceClient::tick needs more than 3945 microseconds. Max allowed was 3000 microseconds.
[2018-12-16 10:55:49] [ERROR]    68 | Ticking of client 168.195.99.255:5143 (WLNN) needs more that 2500 microseconds! (4006 microseconds)
[2018-12-16 10:55:49] [DEBUG]    69 | [Permission] Value test result for test type 1.
[2018-12-16 10:55:49] [DEBUG]    69 | [Permission]    Permission: b_client_remoteaddress_view Required value: 1 Gained value: -2 Force required: 1 Channel: ╠● ( ͡° ͜ʖ ͡°) Dan e Leo - ENTRO BAN Result: 0
[2018-12-16 10:55:50] [DEBUG]   116 | [Property] Changed property in db key: client_month_online_time value: 17640
[2018-12-16 10:55:50] [DEBUG]   116 | [Property] Changed property in db key: client_total_online_time value: 17640
[2018-12-16 10:55:50] [DEBUG]    69 | [Permission] Value test result for test type 1.
[2018-12-16 10:55:50] [DEBUG]    69 | [Permission]    Permission: b_client_remoteaddress_view Required value: 1 Gained value: -2 Force required: 1 Channel: ╠● ( ͡° ͜ʖ ͡°) Dan e Leo - ENTRO BAN Result: 0
[2018-12-16 10:55:50] [ERROR] Timer InstanceHandler::tickInstance -> statistics tick needs more than 13 milliseconds. Max allowed was 5 milliseconds.
[2018-12-16 10:55:51] [DEBUG]    69 | [Permission] Value test result for test type 1.
[2018-12-16 10:55:51] [DEBUG]    69 | [Permission]    Permission: b_client_remoteaddress_view Required value: 1 Gained value: -2 Force required: 1 Channel: ╠● ( ͡° ͜ʖ ͡°) Dan e Leo - ENTRO BAN Result: 0
[2018-12-16 10:55:52] [DEBUG]   116 | [Property] Changed property in db key: client_month_online_time value: 5280
[2018-12-16 10:55:52] [DEBUG]   116 | [Property] Changed property in db key: client_total_online_time value: 5280
[2018-12-16 10:55:52] [DEBUG]   116 | [Property] Changed property in db key: client_month_online_time value: 2400
[2018-12-16 10:55:52] [DEBUG]   116 | [Property] Changed property in db key: client_total_online_time value: 2400
[2018-12-16 10:55:52] [DEBUG]   116 | [Property] Changed property in db key: client_month_online_time value: 2160
[2018-12-16 10:55:52] [DEBUG]   116 | [Property] Changed property in db key: client_total_online_time value: 2160
[2018-12-16 10:55:52] [DEBUG]   116 | [Property] Changed property in db key: client_month_online_time value: 7200
[2018-12-16 10:55:52] [DEBUG]   116 | [Property] Changed property in db key: client_total_online_time value: 7200
First lines after the process start again by my crontab:

[2018-12-16 10:57:07] [DEBUG] Log successfully started!
[2018-12-16 10:57:07] [INFO] GEN | Starting TeaSpeak-Server v1.2.31-beta [Build: 1544381884]
[2018-12-16 10:57:07] [INFO] GEN | Starting music providers
[2018-12-16 10:57:07] [DEBUG] [Music] Provider load order:
[2018-12-16 10:57:07] [DEBUG] [Music] [0] providers/000ProviderFFMpeg.so
[2018-12-16 10:57:07] [DEBUG] [Music] [1] providers/001ProviderYT.so
[2018-12-16 10:57:07] [DEBUG] [Music] [FFMPEG] Using config file located at providers/config_ffmpeg.ini
[2018-12-16 10:57:07] [DEBUG] [Music] [FFMPEG] Missing configuration file. Using default values
[2018-12-16 10:57:07] [DEBUG] [Music] [FFMPEG] Executing command "ffmpeg -version"
[2018-12-16 10:57:09] [INFO] [Music] [FFMPEG] Resolved ffmpeg with version "ffmpeg version 2.8.15-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg developers"
[2018-12-16 10:57:09] [DEBUG] [Music] [FFMPEG] Executing command "ffmpeg -protocols"
[2018-12-16 10:57:09] [DEBUG] [Music] [FFMPEG] Executing command "ffmpeg -formats"
[2018-12-16 10:57:09] [INFO] [Music] Loaded successfully provider FFMpeg
[2018-12-16 10:57:09] [DEBUG] [Music] [YT-DL] Using config file located at providers/config_youtube.ini
[2018-12-16 10:57:09] [DEBUG] [Music] [YT-DL] Missing configuration file. Using default values
[2018-12-16 10:57:09] [DEBUG] [Music] [YT-DL] Executing versions command "youtube-dl --version"
[2018-12-16 10:57:12] [INFO] [Music] [YT-DL] Resolved youtube-dl with version 2018.11.18
[2018-12-16 10:57:12] [INFO] [Music] Loaded successfully provider YouTube
[2018-12-16 10:57:12] [INFO] [Music] [YT-DL] Compiling patterns
[2018-12-16 10:57:13] [INFO] [Music] [YT-DL] Patterns compiled (794ms)
[2018-12-16 10:57:14] [DEBUG] GEN | Created a new async thread pool!
[2018-12-16 10:57:14] [DEBUG] GEN | Loaded client from database. Database id: 1 Unique id: serveradmin
[2018-12-16 10:57:14] [DEBUG] GEN | Push back group -> 1 - Guest Server Query
[2018-12-16 10:57:14] [DEBUG] GEN | Push back group -> 2 - Admin Server Query
[2018-12-16 10:57:14] [DEBUG] GEN | Push back group -> 3 - Server Admin
[2018-12-16 10:57:14] [DEBUG] GEN | Push back group -> 4 - Normal
[2018-12-16 10:57:14] [DEBUG] GEN | Push back group -> 5 - Guest
[2018-12-16 10:57:14] [DEBUG] GEN | Push back group -> 6 - Channel Admin
[2018-12-16 10:57:14] [DEBUG] GEN | Push back group -> 7 - Operator
[2018-12-16 10:57:14] [DEBUG] GEN | Push back group -> 8 - Guest
[2018-12-16 10:57:14] [DEBUG] GLOBL | Instance admin group id 2
[2018-12-16 10:57:14] [DEBUG] GLOBL | Server guest group id 1
[2018-12-16 10:57:14] [DEBUG] GLOBL | Server music group id 1
[2018-12-16 10:57:14] [DEBUG] GEN | [SQL] load_properties("SELECT `key`, `value`, `type` FROM properties WHERE `serverId` = :serverId AND `type` = :type AND `id` = :id") needs 0ms
[2018-12-16 10:57:14] [DEBUG] GEN | [SQL] load_properties("SELECT `key`, `value`, `type` FROM properties WHERE `serverId` = :serverId AND `type` = :type AND `id` = :id") needs 0ms
[2018-12-16 10:57:14] [DEBUG] GEN | [SQL] load_properties("SELECT `key`, `value`, `type` FROM properties WHERE `serverId` = :serverId AND `type` = :type AND `id` = :id") needs 0ms
[2018-12-16 10:57:14] [DEBUG] GEN | [SQL] load_properties("SELECT `key`, `value`, `type` FROM properties WHERE `serverId` = :serverId AND `type` = :type AND `id` = :id") needs 0ms
[2018-12-16 10:57:14] [INFO] GEN | Got 4 saved channels
[2018-12-16 10:57:14] [DEBUG] GEN | [SQL] load_properties("SELECT `key`, `value`, `type` FROM properties WHERE `serverId` = :serverId AND `type` = :type") needs 0ms
[2018-12-16 10:57:14] [DEBUG] GEN | Deleting old bans
[2018-12-16 10:57:14] [INFO] FILE | Starting server on 0.0.0.0:30303
[2018-12-16 10:57:14] [INFO] QUERY | Starting server on 0.0.0.0:10101
[2018-12-16 10:57:14] [DEBUG] QUERY | Event base executed (0x7ff3f5c9f500)
[2018-12-16 10:57:14] [INFO] GEN | Generating server puzzles...
[2018-12-16 10:57:14] [INFO] GEN | Puzzles generated! Time required: 265ms
[2018-12-16 10:57:14] [INFO] GLOBL | Loading startup cache (This may take a while)
[2018-12-16 10:57:17] [ERROR] 68 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 69 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 70 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 73 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 74 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 75 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 76 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 77 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 78 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 79 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 80 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 81 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 83 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 85 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 87 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 93 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 99 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 111 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 116 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 134 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 135 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 143 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 149 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 151 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 153 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 155 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 157 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 160 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 163 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 165 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 167 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 169 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 171 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 173 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 175 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 177 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:17] [ERROR] 188 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [ERROR] 190 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [ERROR] 192 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [ERROR] 194 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [ERROR] 196 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [ERROR] 198 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [ERROR] 200 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [ERROR] 202 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [ERROR] 204 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [ERROR] 206 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [ERROR] 208 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [ERROR] 212 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [ERROR] 214 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [ERROR] 218 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [ERROR] 228 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [ERROR] 240 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [ERROR] 242 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [ERROR] 244 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [ERROR] 254 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [ERROR] 256 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [ERROR] 269 | Invalid property (begin_virtualserver | 0)
[2018-12-16 10:57:18] [INFO] GLOBL | Required 3680ms to preload the startup cache. Cache needs 11mb
[2018-12-16 10:57:18] [DEBUG] 49 | Importing server keypair
Mysteriously the process is closed without displaying any log
The dedicated server uptime already has more than a few days online, there was no reboot.
 

WolverinDEV

TeaSpeak Team
Staff member
Administrator
Had you every tried to run the server via minimal script, and see which is the actual output is?
May there happens something which is not displayed within the log.
 

n0ns

Well-known member
I have a crontab script that checks the process every minute.
In case of server failure, it should start again the next minute through the file "teastart.sh"
Would you recommend me something to monitor the next time the process disappears?
Usually happens every 2 days or less.
 

WolverinDEV

TeaSpeak Team
Staff member
Administrator
Hmm the two day period sound suspecius.
Well may try to capture the screen of TeaSpeak, so start TeaSpeak within a screen and not as background job.
May then there is something more.

And there are not any crash dumps at all?
 

SHELOFASTOV

Fanatic member
Premium User
How can I check the reason my server has been restarted?
Apparently there are no crashdumps
That is between 1 to 2 days but I still can not say the reason.
I use the latest version 1.2.31-beta-2 (optmized)
The server is started automatically by the crontab that checks it for me
Do you have enough RAM? I previously had a TeaSpeak failure due to lack of memory, there were no crash dumps
 

REDOSS

TeaSpeak Team
Staff member
TeaTeam
Well Idk, but may @SHELOFASTOV is on the right way.
I've myself running a server for 24 days now with avg. users around 500 :)
I have about 100 users required 1 GB of RAM.
When there is not enough memory, the server crashes and rises through a crontab, where the script monitors the status of the server.
 

WolverinDEV

TeaSpeak Team
Staff member
Administrator
Yes, TeaSpeak runs on nearly any linux based system, without any conflicts to other processes.
The only problem which could occur is a already used port, which could be "fixed" by configuration.