Category: Code
Reproducibility: Always
Summary: The more you play, the more RAM the server uses days after days
Description: I noticed that my KF 2 servers eat more and more memory the more you play on them. I have to restart them daily to be sure nothing bad happens.
When you start a KF 2 server it uses less than 1GB of memory, but after a few days, it uses the double this ammount. and I'm pretty sure I had servers using around 16% of memory on my 16GB RAM dedicated server, which is way too much in my opinion (empty server after around a week of non consistent play on it).
I think after each game, some things are not purged correctly and the server accumulates more and more things in memory.
It is not that hard to confirm, just let a KF 2 server running, play on it every day, and monitor memory usage. You will see it increases for no obvious reason. This was reported a long time ago in other threads, I personally replied "my servers do not have memory leak as far as I know" and did not take this too seriously, but after a long period of observation when I accidentally noticed that they were actually using too much memory, I can clearly confirm that yes, there is some kind of "memory leak" the more you play on it.
This is a critical bug in my opinion and should be looked at, lot of server providers surely do not want to allocate the double or triple memory amount it initially needs... and for self providers like me, we like to run things when it is working good without having to monitor everything..
Thank you for not ignoring this and having a look at it.
PS: if other server admins can monitor their servers and not restarting them every day to confirm that would be cool
Online/Offline: Both I guess
Reproducibility: Always
Summary: The more you play, the more RAM the server uses days after days
Description: I noticed that my KF 2 servers eat more and more memory the more you play on them. I have to restart them daily to be sure nothing bad happens.
When you start a KF 2 server it uses less than 1GB of memory, but after a few days, it uses the double this ammount. and I'm pretty sure I had servers using around 16% of memory on my 16GB RAM dedicated server, which is way too much in my opinion (empty server after around a week of non consistent play on it).
I think after each game, some things are not purged correctly and the server accumulates more and more things in memory.
It is not that hard to confirm, just let a KF 2 server running, play on it every day, and monitor memory usage. You will see it increases for no obvious reason. This was reported a long time ago in other threads, I personally replied "my servers do not have memory leak as far as I know" and did not take this too seriously, but after a long period of observation when I accidentally noticed that they were actually using too much memory, I can clearly confirm that yes, there is some kind of "memory leak" the more you play on it.
This is a critical bug in my opinion and should be looked at, lot of server providers surely do not want to allocate the double or triple memory amount it initially needs... and for self providers like me, we like to run things when it is working good without having to monitor everything..
Thank you for not ignoring this and having a look at it.
PS: if other server admins can monitor their servers and not restarting them every day to confirm that would be cool
Online/Offline: Both I guess