rafradek / sigsegv-mvm

gigantic, obese SourceMod extension library of sigsegv's TF2 mods (mostly MvM related)
Other
63 stars 19 forks source link

crash due to memory leak #55

Closed MrPanica closed 6 months ago

MrPanica commented 6 months ago

My server is crashing due to your extension. I don’t know the exact reason, but when the RAM is full ≈ 3.8 GB, a crash occurs.

OS info: Linux version 5.15.0-105-generic (buildd@lcy02-amd64-007) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #115-Ubuntu SMP Mon Apr 15 09:52:04 UTC 2024

Intel(R) Xeon(R) CPU X5670 @ 2.93GHz

Exts: [SM] Displaying 18 extensions: [01] Automatic Updater (1.11.0.6962): Updates SourceMod gamedata files [02] Webternet (1.11.0.6962): Extension for interacting with URLs [03] Accelerator (2.5.0): SRCDS Crash Handler [04] TF2 Tools (1.11.0.6962): TF2 extended functionality [05] BinTools (1.11.0.6962): Low-level C/C++ Calling API [06] SDK Hooks (1.11.0.6962): Source SDK Hooks [07] SDK Tools (1.11.0.6962): Source SDK Tools [08] Regex (1.11.0.6962): Provides regex natives for plugins [09] Top Menus (1.11.0.6962): Creates sorted nested menus [10] Client Preferences (1.11.0.6962): Saves client preference settings [11] SQLite (1.11.0.6962): SQLite Driver [12] REST in Pawn (1.3.1): Provides HTTP and JSON natives for plugins [13] DHooks (1.11.0.6962): Dynamic Hooks [14] GeoIP (1.11.0.6962): Geographical IP information [15] SteamWorks Extension (1.2.3): Exposes SteamWorks functions to Developers [16] Sound Info Library (1.0): Access information of sound files [17] MySQL-DBI (1.11.0.6962): MySQL driver implementation for DBI [18] SendProxy Manager (1.3.4): Change stuff without actually changing stuff!

rafradek commented 6 months ago

How does the extension list look with sigsegv extension loaded?

MrPanica commented 6 months ago

[03] sigsegv MvM (May 3 2024): sigsegv's

I use Only Optimization version.

rafradek commented 6 months ago

I would also like to know the game, map, if there were bots present and how many players

MrPanica commented 6 months ago

Yes, I noticed that if there are bots or no players, everything is fine. But if the players are on the server, then the amount of RAM consumed gradually increases. I have jail mode on my server. The map has an arena mode, the problem occurs on any of them.

MrPanica commented 6 months ago

Game: tf2

rafradek commented 6 months ago

From what i noticed on my mvm servers, there were no memory leaks, or not significant enough to be noticeable with a daily restart

MrPanica commented 6 months ago

Hmm, I found the cause of the leak. The sig_perf_sendprop_optimize setting was causing the problem.