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

Completed Memory leak solved?

WolverinDEV

TeaSpeak Team
Staff member
Administrator
Well could somebody monitor the newest version 25 build 1?
I may finally fixed it. Had a critical issue within my threading library
 

Vafin

TeaFanatic
Well could somebody monitor the newest version 25 build 1?
I may finally fixed it. Had a critical issue within my threading library
I haven't checked it 1.2.25-beta, because I only use trusted assemblies (1.2.24). Tomorrow I will update my server and report the result.
 
Last edited:

Vafin

TeaFanatic
Well could somebody monitor the newest version 25 build 1?
I may finally fixed it. Had a critical issue within my threading library
Yesterday I installed 1.2.25-beta on my test server, the results are impressive, but I need to check it on a multi-user server.
 

REDOSS

TeaSpeak Team
Staff member
TeaTeam
If I'm not mistaken, there is still a memory leak. On the server 35-40 users on the network, the consumption of RAM gradually rises (slowly). Approximately 1 MB per minute.

Also on the server sometimes ping rises, perhaps when he accesses the server and sends usage statistics.

Code:
[2018-10-30 21:41:25] [DEBUG] Log successfully started!
[2018-10-30 21:41:25] [INFO]    GEN | Starting TeaSpeak-Server v1.2.25-beta [Build: 1540911487]
[2018-10-30 21:41:25] [INFO]    GEN | Starting music providers
[2018-10-30 21:41:25] [DEBUG] [Music] Provider load order:
[2018-10-30 21:41:25] [DEBUG] [Music] [0] providers/000ProviderFFMpeg.so
[2018-10-30 21:41:25] [DEBUG] [Music] [1] providers/001ProviderYT.so
[2018-10-30 21:41:25] [DEBUG] [Music] [FFMPEG] Using config file located at providers/config_ffmpeg.ini
[2018-10-30 21:41:25] [DEBUG] [Music] [FFMPEG] Missing configuration file. Using default values
[2018-10-30 21:41:25] [DEBUG] [Music] [FFMPEG] Executing command "ffmpeg -version"
[2018-10-30 21:41:25] [INFO]  [Music] [FFMPEG] Resolved ffmpeg with version "ffmpeg version 3.2.12-1~deb9u1 Copyright (c) 2000-2018 the FFmpeg developers"
[2018-10-30 21:41:25] [DEBUG] [Music] [FFMPEG] Executing command "ffmpeg -protocols"
[2018-10-30 21:41:26] [DEBUG] [Music] [FFMPEG] Executing command "ffmpeg -formats"
[2018-10-30 21:41:26] [INFO]  [Music] Loaded successfully provider FFMpeg
[2018-10-30 21:41:26] [DEBUG] [Music] [YT-DL] Using config file located at providers/config_youtube.ini
[2018-10-30 21:41:26] [DEBUG] [Music] [YT-DL] Missing configuration file. Using default values
[2018-10-30 21:41:26] [DEBUG] [Music] [YT-DL] Executing versions command "youtube-dl --version"
[2018-10-30 21:41:27] [INFO]  [Music] [YT-DL] Resolved youtube-dl with version 2017.05.18.1
[2018-10-30 21:41:27] [INFO]  [Music] Loaded successfully provider YouTube
[2018-10-30 21:41:27] [ERROR] [Music] [YT-DL] Compiling patterns
[2018-10-30 21:41:27] [ERROR] [Music] [YT-DL] Failed to compile regex (?:peertube:([^:]+):|https?:\/\/(?P<host_2>(?:#Takenfromhttps:\/\/instances.joinpeertube.org\/instancestube\.openalgeria\.org|peertube\.pointsecu\.fr|peertube\.nogafa\.org|peertube\.pl|megatube\.lilomoino\.fr|peertube\.tamanoir\.foucry\.net|peertube\.inapurna\.org|peertube\.netzspielplatz\.de|video\.deadsuperhero\.com|peertube\.devosi\.org|peertube\.1312\.media|tube\.worldofhauru\.xyz|tube\.bootlicker\.party|skeptikon\.fr|peertube\.geekshell\.fr|tube\.opportunis\.me|peertube\.peshane\.net|video\.blueline\.mg|tube\.homecomputing\.fr|videos\.cloudfrancois\.fr|peertube\.viviers-fibre\.net|tube\.ouahpiti\.info|video\.tedomum\.net|video\.g3l\.org|fontube\.fr|peertube\.gaialabs\.ch|peertube\.extremely\.online|peertube\.public-infrastructure\.eu|tube\.kher\.nl|peertube\.qtg\.fr|tube\.22decembre\.eu|facegirl\.me|video\.migennes\.net|janny\.moe|tube\.p2p\.legal|video\.atlanti\.se|troll\.tv|peertube\.geekael\.fr|vid\.leotindall\.com|video\.anormallostpod\.ovh|p-tube\.h3z\.jp|tube\.darfweb\.eu|videos\.iut-orsay\.fr|peertube\.solidev\.net|videos\.symphonie-of-code\.fr|testtube\.ortg\.de|videos\.cemea\.org|peertube\.gwendalavir\.eu|video\.passageenseine\.fr|videos\.festivalparminous\.org|peertube\.touhoppai\.moe|peertube\.duckdns\.org|sikke\.fi|peertube\.mastodon\.host|firedragonvideos\.com|vidz\.dou\.bet|peertube\.koehn\.com|peer\.hostux\.social|share\.tube|peertube\.walkingmountains\.fr|medias\.libox\.fr|peertube\.moe|peertube\.xyz|jp\.peertube\.network|videos\.benpro\.fr|tube\.otter\.sh|peertube\.angristan\.xyz|peertube\.parleur\.net|peer\.ecutsa\.fr|peertube\.heraut\.eu|peertube\.tifox\.fr|peertube\.maly\.io|vod\.mochi\.academy|exode\.me|coste\.video|tube\.aquilenet\.fr|peertube\.gegeweb\.eu|framatube\.org|thinkerview\.video|tube\.conferences-gesticulees\.net|peertube\.datagueule\.tv|video\.lqdn\.fr|meilleurtube\.delire\.party|tube\.mochi\.academy|peertube\.dav\.li|media\.zat\.im|pytu\.be|peertube\.valvin\.fr|peertube\.nsa\.ovh|video\.colibris-outilslibres\.org|video\.hispagatos\.org|tube\.svnet\.fr|peertube\.video|videos\.lecygnenoir\.info|peertube3\.cpy\.re|peertube2\.cpy\.re|videos\.tcit\.fr|peertube\.cpy\.re))\/(?:videos\/(?:watch|embed)|api\/v\d\/videos)\/)([\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12})
[2018-10-30 21:41:27] [ERROR] [Music] [YT-DL] Failed to compile regex (?i)https?:\/\/(?:www\.)?manyvids\.com\/video\/(\d+)
[2018-10-30 21:41:27] [ERROR] [Music] [YT-DL] Failed to compile regex (https?):\/\/(?:([^.]+)\.podomatic\.com\/entry|(?:www\.)?podomatic\.com\/podcasts\/(?P<channel_2>[^\/]+)\/episodes)\/([^\/?#&]+)
[2018-10-30 21:41:27] [ERROR] [Music] [YT-DL] Failed to compile regex (?i)https?:\/\/(?:(www|touch)\.)?dailymotion\.[a-z]{2,3}\/(?:(?:(?:embed|swf|#)\/)?video|swf)\/([^\/?_]+)
[2018-10-30 21:41:27] [ERROR] [Music] [YT-DL] Failed to compile regex (?i)https?:\/\/(?:www\.)?parliamentlive\.tv\/Event\/Index\/([\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12})
[2018-10-30 21:41:27] [ERROR] [Music] [YT-DL] Failed to compile regex https?:\/\/(?:www\.)?tagesschau\.de\/multimedia\/(audio|video)\/(?P=kind)-(\d+)~player(?:_[^\/?#&]+)?\.html
[2018-10-30 21:41:27] [ERROR] [Music] [YT-DL] Failed to compile regex https?:\/\/(?:.+?\.)?xhamster\.com\/(?:movies\/(\d+)\/([^\/]*)\.html|videos\/(?P<display_id_2>[^\/]*)-(?P<id_2>\d+))
[2018-10-30 21:41:27] [ERROR] [Music] [YT-DL] Failed to compile regex https?:\/\/cms\.springboardplatform\.com\/(?:(?:previews|embed_iframe)\/(\d+)\/video\/(\d+)|xml_feeds_advanced\/index\/(?P<index_2>\d+)\/rss3\/(?P<id_2>\d+))
[2018-10-30 21:41:27] [ERROR] [Music] [YT-DL] Failed to compile regex (?i)mms:\/\/.+
[2018-10-30 21:41:27] [ERROR] [Music] [YT-DL] Failed to compile regex ^((?:https?:\/\/|\/\/)#http(s):\/\/orprotocol-independentURL(?:(?:(?:(?:\w+\.)?[yY][oO][uU][tT][uU][bB][eE](?:-nocookie)?\.com\/|(?:www\.)?deturl\.com\/www\.youtube\.com\/|(?:www\.)?pwnyoutube\.com\/|(?:www\.)?hooktube\.com\/|(?:www\.)?yourepeat\.com\/|tube\.majestyc\.net\/|(?:www\.)?invidio\.us\/|youtube\.googleapis\.com\/)#thevarioushostnames,withwildcardsubdomains(?:.*?\#\/)?#handleanchor(#\/)redirecturls(?:#thevariousthingsthatcanprecedetheID:(?:(?:v|embed|e)\/(?!videoseries))#v\/orembed\/ore\/|(?:#orthev=paraminallitsforms(?:(?:watch|movie)(?:_popup)?(?:\.php)?\/?)?#precedingwatch(_popup|.php)ornothing(like\/?v=xxxx)(?:\?|\#!?)#theparamsdelimiter?or#or#!(?:.*?[&;])??#anyotherprecedingparam(like\/?s=tuff&v=xxxxor?s=tuff&amp;v=V36LpHqtcDY)v=)))|(?:youtu\.be|#justyoutu.be\/xxxxvid\.plus|#orvid.plus\/xxxxzwearz\.com\/watch|#orzwearz.com\/watch\/xxxx)\/|(?:www\.)?cleanvideosearch\.com\/media\/action\/yt\/watch\?videoId=))?#alluntilnowisoptional->youcanpassthenakedID([0-9A-Za-z_-]{11})#hereisit!theYouTubevideoID(?!.*?\blist=(?:(?:PL|LL|EC|UU|FL|RD|UL|TL|OLAK5uy_)[0-9A-Za-z-_]{10,}|#combinedlist\/videoURLsarehandledbytheplaylistIEWL#WLarehandledbythewatchlaterIE))(?(1).+)?#ifwefoundtheID,everythingcanfollow$
[2018-10-30 21:41:27] [ERROR] [Music] [YT-DL] Failed to compile regex (?xi)https?:\/\/[^\/]+\/Mediasite\/Play\/([0-9a-f]{32,34})(\?[^#]+|)
[2018-10-30 21:41:27] [ERROR] [Music] [YT-DL] Failed to compile regex https?:\/\/(?:(?:www|m)\.)?my\.mail\.ru\/(?:video\/.*\#video=\/?(?P<idv1>(?:[^\/]+\/){3}\d+)|(?:(?P<idv2prefix>(?:[^\/]+\/){2})video\/(?P<idv2suffix>[^\/]+\/\d+))\.html|(?:video\/embed|\+\/video\/meta)\/(\d+))
[2018-10-30 21:41:27] [ERROR] [Music] [YT-DL] Failed to compile regex (?i)https?:\/\/(?:www\.)?bostonglobe\.com\/.*\/([^\/]+)\/\w+(?:\.html)?
[2018-10-30 21:41:27] [ERROR] [Music] [YT-DL] Failed to compile regex ^https?:\/\/(?:(?:www|api)\.)?khanacademy\.org\/([^\/]+)\/(?:[^\/]+\/){,2}([^?#\/]+)(?:$|[?#])
[2018-10-30 21:41:27] [ERROR] [Music] [YT-DL] Failed to compile regex https?:\/\/(my\.)?tv\.sohu\.com\/.+?\/(?(mytv)|n)(\d+)\.shtml.*?
[2018-10-30 21:41:27] [ERROR] [Music] [YT-DL] Failed to compile regex https?:\/\/(?:www\.)?nytimes\.com\/(.(?<!video))*?\/(?:[^\/]+\/)*([^.]+)(?:\.html)?
[2018-10-30 21:41:28] [ERROR] [Music] [YT-DL] Failed to compile regex (?i)https?:\/\/(?:www\.)?wsj\.com\/articles\/([^\/?#&]+)
[2018-10-30 21:41:28] [ERROR] [Music] [YT-DL] Failed to compile regex https?:\/\/vid\.me\/(?:e\/)?([\da-zA-Z]{,5})(?:[^\da-zA-Z]|$)
[2018-10-30 21:41:28] [ERROR] [Music] [YT-DL] Failed to compile regex (?i)rtmp[est]?:\/\/.+
[2018-10-30 21:41:28] [ERROR] [Music] [YT-DL] Failed to compile regex https?:\/\/(?:www\.)?empflix\.com\/(?:videos\/(.+?)-|[^\/]+\/(?P<display_id_2>[^\/]+)\/video)([0-9]+)
[2018-10-30 21:41:28] [ERROR] [Music] [YT-DL] Patterns compiled (968353ms)
 
Last edited:

REDOSS

TeaSpeak Team
Staff member
TeaTeam
For comparison, not in prime time, I will add another screen shot in a couple of hours ... Why is there such a difference in memory and flow?
 

Attachments

Vafin

TeaFanatic
Well could somebody monitor the newest version 25 build 1?
I may finally fixed it. Had a critical issue within my threading library
Unfortunately I could not fully test, because I had a destruction of the server. But at first glance, there is still a memory leak
 

WolverinDEV

TeaSpeak Team
Staff member
Administrator
Well you have to take a precisely separation.
TeaSpeak at all uses more memory for each client because of several extra features.
And I personally made the notice that the memory goes back the less users are connected. More or less to the original state (+- 50MB (On 200 users an 1000VS)
 

Vafin

TeaFanatic
Well you have to take a precisely separation.
TeaSpeak at all uses more memory for each client because of several extra features.
And I personally made the notice that the memory goes back the less users are connected. More or less to the original state (+- 50MB (On 200 users an 1000VS)
What are these extra features and can I turn them off?