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

Memory Leak / Fragmention bug

almir101

Active member
I am telling you that ram usage is ~200MB (For me its 0%),200MB is same on 1GB VPS or 32GB Dedicated...
I mentioned clearly that it is using approx. 150-200MB (On latest version it used 600-700MB for me).
And yes there is a difference between dedicated server and vps server, on dedicated server you can clear cache,free up RAM,while on VPS you cant.
Further more I am using Debian 8 (minimal,I always use minimal,cos later I install stuff only that I actually need,to save even more resources),
my server never crashed.
To give you even more info, if you are using OpenVZ, you do not get CPU but you get vCPU (vCPU =~ 1/4 CPU).
Also it has shared resources and your resources depending on fair share.
It may tell you that you have free RAM,but actually there might not be free RAM on that rack and then your server crashes.
And there are several reasons that your applications may crash on VPS.
Please, post below here screenshots of resources consuption of TeaSpeakServer app.
To do so, type following :
Code:
ps ax | grep TeaSpeakServer
(This will give you process ID of TeaSpeakServer)
Then type following
Code:
htop -p ProcessID
(Replace ProcessID with numbers)
If you do not have htop use following :
Code:
apt-get -y install htop
(For debian/ubuntu)
Code:
yum -y install htop
(For centos)
And post results here.
 

yamano

TeaSpeak Team
Staff member
TeaTeam
Debian 9 x64 Ovh Vps
2Gb Ram
3 Virtual Servers (+-20users)
Always consuming more and more.
7 hours before = 120Mb Ram

Captura de Ecrã (79).png
 

yamano

TeaSpeak Team
Staff member
TeaTeam
One more 8 hours later (last one...)
Always using more, even with just 3 users online, like now :/


Captura de Ecrã (83).png
 
Last edited:

yamano

TeaSpeak Team
Staff member
TeaTeam
Hi Guys.

I think i managed to solve this Memory Fragmentation...

First, i started all my servers..
After 24h my vps ram is almost in full use, to avoid crashes,
i decided to restart every single server manually using yatqa
(and not restarting with the commands "./teastart.sh stop/start" like i always do... )
So, i went to yatqa and restarted one by one manually..

Yeah, it's stupid, but look at the results for the very first time:
Captura de Ecrã (84).png

Almost 2 days and everything is normal.
Ram going up and down (more users and less users) like i always want :)

It's stupid, but you guys need to test it...

1. start the servers
2. Login yatqa
3. Stop / Start all servers manually
4. Wait and see if the ram fragmentation it is solved

OVH Vps
Debian 9 x64
2GB Ram

;)
 
Last edited: