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

Memory Leak via handles


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Tentacle Master
Member
Join Date: Jan 2012
Old 06-22-2012 , 00:28   Memory Leak via handles
Reply With Quote #1

Got a plugin that is throwing memory leaks. Crashes all the time due to tens of thousands of open handles. Unfortunately it seems this plugin is abandoned so help from the author won't come.

I need a way to hunt down the memory leak. I swore there was a command to dump the open handles to a text file but it won't work for me. Any help would be much appreciated.
__________________
Maximum Online Gaming: Multi Tanks Maximum Spawn Servers (MTMS) Head Admin / Programmer

Plugins:
Automatic Main Menu Opener -public ||| My Little Pony Models Pack -public ||| No One Left4Dead -private ||| Fortspawn 2 -private
Tentacle Master is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-22-2012 , 00:34   Re: Memory Leak via handles
Reply With Quote #2

sm_dump_handles handles.txt

Some threads while searching:
https://forums.alliedmods.net/showthread.php?t=61623
https://forums.alliedmods.net/showthread.php?t=119508
https://forums.alliedmods.net/showthread.php?t=63005
__________________
Silvers is offline
Tentacle Master
Member
Join Date: Jan 2012
Old 06-22-2012 , 00:37   Re: Memory Leak via handles
Reply With Quote #3

Thank you I will read those threads

but

sm_dump_handles handles.txt returns unknown command
__________________
Maximum Online Gaming: Multi Tanks Maximum Spawn Servers (MTMS) Head Admin / Programmer

Plugins:
Automatic Main Menu Opener -public ||| My Little Pony Models Pack -public ||| No One Left4Dead -private ||| Fortspawn 2 -private
Tentacle Master is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-22-2012 , 00:38   Re: Memory Leak via handles
Reply With Quote #4

Server console: https://forums.alliedmods.net/showpo...1&postcount=11
Saved here: https://forums.alliedmods.net/showpo...14&postcount=7
__________________
Silvers is offline
Tentacle Master
Member
Join Date: Jan 2012
Old 06-22-2012 , 00:41   Re: Memory Leak via handles
Reply With Quote #5

right just read that server console....got it
__________________
Maximum Online Gaming: Multi Tanks Maximum Spawn Servers (MTMS) Head Admin / Programmer

Plugins:
Automatic Main Menu Opener -public ||| My Little Pony Models Pack -public ||| No One Left4Dead -private ||| Fortspawn 2 -private
Tentacle Master is offline
Tentacle Master
Member
Join Date: Jan 2012
Old 06-22-2012 , 00:46   Re: Memory Leak via handles
Reply With Quote #6

That's going to be a bit of a challenge since I only have rcon access and need a production server for a proper test.
__________________
Maximum Online Gaming: Multi Tanks Maximum Spawn Servers (MTMS) Head Admin / Programmer

Plugins:
Automatic Main Menu Opener -public ||| My Little Pony Models Pack -public ||| No One Left4Dead -private ||| Fortspawn 2 -private
Tentacle Master is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 06-22-2012 , 10:55   Re: Memory Leak via handles
Reply With Quote #7

You can setup a dedicated server for testing on your PC - easy as pie
__________________
View my Plugins | Donate
TnTSCS 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 07:43.


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