Source-Python-Dev-Team / Source.Python

This plugin aims to use boost::python and create an easily accessible wrapper around the Source Engine API for scripter use.
http://forums.sourcepython.com
GNU General Public License v3.0
163 stars 31 forks source link

Possible memory leak #402

Closed NosferatuJoe closed 3 years ago

NosferatuJoe commented 3 years ago

I've been monitoring my CSGO server and it seems that SP itself might have a memory leak according to the RAM stats on my GSP's dashboard. I'm now testing the server without SP, to make sure that it's not a CSGO issue.

As you can see on SP info, I'm running the latest version. And I've noticed that it also was like this in the past versions but I thought it was because of the mod I was running. Also on the first screenschot (RAM USAGE) you see a different pattern after thursday, this is because I turned auto-restart off. It seems that the RAM keeps increasing gradually.

I just noticed that I forgot to turn off SM&MM, will do a test without them. Sorry xo

2021-06-14 09_54_11-VeryGames _ Dashboard_memory_leak

2021-06-14 09_51_02-VeryGames _ Dashboard_memory_leak

NosferatuJoe commented 3 years ago

In the meanwhile I've been gathering some more data. Sadly the issue still persists with only SP enabled and bot_quota 10.

Will do another test with "vanilla" csgo to make sure it's not a base game bug.

Will add the screenshots tomorrow.

NosferatuJoe commented 3 years ago

As you can see on the graphs, the RAM usage keeps gradually increasing. This is with ONLY SP activated as addon and 10 bots playing on the server. Next test will be vanilla CSGO and see if the problem still persists.

201349054_826408014747756_5347345938626869904_n 202407144_159927742853468_1809483642598039949_n

NosferatuJoe commented 3 years ago

Seems like this also happens without SP loaded, is anyone experiencing the same problem or is it just me?

NosferatuJoe commented 3 years ago

Could anyone confirm if this happens with vanilla CSGO aswell?