Raised This Month: $51 Target: $400
 12% 

Leaky Plugin?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 11-21-2008 , 03:17   Leaky Plugin?
Reply With Quote #1

What's the best way to search for a plugin with a memory leak, because I think I might have one.

TF2 server was using 15% of 4 gigs of ram empty after running all day, changed the map, and it was still using that much, restarted it and it was using just over 4%

Code:
           01 "High Ping Kicker - Lite Edition" (1.0.0.0) by Liam
           02 "Nextmap" (1.1.0-dev) by AlliedModders LLC
           03 "Admin File Reader" (1.1.0-dev) by AlliedModders LLC
           04 "Rock The Vote" (1.1.0-dev) by AlliedModders LLC
           05 "SQL Admin Manager" (1.1.0-dev) by AlliedModders LLC
           06 "SlapSlay Commands" (1.1.0-dev) by AlliedModders LLC
           07 "Maps and Prefix Maps Configs" (1.1) by graczu
           08 "Anti-Flood" (1.1.0-dev) by AlliedModders LLC
           09 "Simple Team Manager" (0.9.0) by Antithasys
           10 "Reserved Slots" (1.1.0-dev) by AlliedModders LLC
           11 "Simple Team Balancer" (1.4.0) by Antithasys
           12 "Web Shortcuts" (1.0.1) by James "sslice" Gray
           13 "SQL Admins (Threaded)" (1.1.0-dev) by AlliedModders LLC
           14 "Fun Votes" (1.1.0-dev) by AlliedModders LLC
           15 "Spray Tracer" (5.4a) by Nican132, CptMoore, Lebson506th
           16 "Get Location" (0.5) by The-Killer
           17 "Vote Mute/Vote Silence" (1.0.104) by <eVa>Dog/AlliedModders LLC
           18 "Map Nominations" (1.1.0-dev) by AlliedModders LLC
           19 "SourceBans" (1.3.5) by InterWave Studios Development Team
           20 "AFK Manager" (2.6) by Liam
           21 "Admin loggin" (1.0) by vIr-Dan
           22 "Basic Comm Control" (1.1.0-dev) by AlliedModders LLC
           23 "MapChooser" (1.1.0-dev) by AlliedModders LLC
           24 "Basic Votes" (1.1.0-dev) by AlliedModders LLC
           25 "Basic Commands" (1.1.0-dev) by AlliedModders LLC
           26 "Basic Chat" (1.1.0-dev) by AlliedModders LLC
           27 "Cheater Hater" (1.0.1) by Antithasys
           28 "Advertisements" (0.5.5) by Tsunami
           29 "Basic Info Triggers" (1.1.0-dev) by AlliedModders LLC
           30 "Admin Menu" (1.1.0-dev) by AlliedModders LLC
           31 "Fun Commands" (1.1.0-dev) by AlliedModders LLC
           32 "PermaMute" (0.1) by Ryan "FLOOR_MASTER" Mannion
           33 "Client Preferences" (1.1.0-dev) by AlliedModders LLC
           34 "Admin Help" (1.1.0-dev) by AlliedModders LLC
           35 "PsychoStats rank`n`top" (0.2) by O!KAK
When it gets bad like that, sm plugins unload_all crashes it, which I think strengthens my suspicions about a mem leak with a plugin

I guess i could try next time reloading each plugin individually seeing if anything causes a change in mem usage, or a crash.
__________________
My Pluggies If you like, consider to me.

Last edited by BrutalGoerge; 11-21-2008 at 03:22.
BrutalGoerge is offline
r3dh3adkid
Senior Member
Join Date: Apr 2008
Location: Georgia
Old 11-21-2008 , 03:20   Re: Leaky Plugin?
Reply With Quote #2

Remove em 1 by 1 till you find the bad one, thats what i've always had to do.
__________________
r3dh3adkid is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 11-21-2008 , 10:22   Re: Leaky Plugin?
Reply With Quote #3

sm_dump_handles
bl4nk is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 11-22-2008 , 15:14   Re: Leaky Plugin?
Reply With Quote #4

I would suspect a plugin that hasnt been updated in a long time
__________________

DontWannaName is offline
BAILOPAN
Join Date: Jan 2004
Old 11-22-2008 , 15:34   Re: Leaky Plugin?
Reply With Quote #5

sm_dump_handles can show you how much trackable memory plugins are using. There is an upper bound to the number of handles plugins open.

If SourceMod commands are crashing please file a bug report.
__________________
egg
BAILOPAN is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode