Raised This Month: $32 Target: $400
 8% 

Expierencing memory leaks


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ldooks
Junior Member
Join Date: Jan 2014
Old 10-13-2016 , 10:29   Expierencing memory leaks
Reply With Quote #1

Hi all. I've been having nasty memory leaks recently with my server. My newrelic dashboard shows srcds_linux eating resources and eventually crashing. This happens once or twice a day. Any tips on how I would go about debugging what may be causing this?


Code:
meta version
Metamod:Source version 1.10.6
Built from: https://github.com/alliedmodders/metamod-source/commit/9fed12f
Build ID: 946:9fed12f
Loaded As: Valve Server Plugin
Compiled on: Sep 10 2015
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/
Code:
sm version
 SourceMod Version Information:
    SourceMod Version: 1.8.0.5945
    SourcePawn Engine: SourcePawn 1.8, jit-x86 (build 1.8.0.5945)
    SourcePawn API: v1 = 4, v2 = 11
    Compiled on: Oct 12 2016 18:38:12
    Built from: https://github.com/alliedmodders/sourcemod/commit/c21a4be
    Build ID: 5945:c21a4be
    http://www.sourcemod.net/
Code:
sm plugins list
[SM] Listing 34 plugins:
  01 "Healthkit From Dead (HFD)" (0.4) by Bacardi
  02 "Basic Chat" (1.8.0.5945) by AlliedModders LLC
  03 "Admin Menu" (1.8.0.5945) by AlliedModders LLC
  04 "Bot Counter" (1.0.0) by Jared Ballou (jballou)
  05 "Updater" (1.2.2) by GoD-Tony
  06 "Basic Ban Commands" (1.8.0.5945) by AlliedModders LLC
  07 "Basic Comm Control" (1.8.0.5945) by AlliedModders LLC
  08 "Admin List" (1.2) by Fredd
  09 "Dissolve" (1.0.0.2) by L. Duke
  10 "[INS] No Fog" (1.0.0) by Jared Ballou (jballou)
  11 "Killer Info Display" (1.4.1) by Berni, gH0sTy, Smurfy1982, Snake60
  12 "Coop Lobby Override" (1.0.0) by Jared Ballou (jballou)
  13 "AFK Manager" (4.0.5) by Rothgar
  14 "Anti-Flood" (1.8.0.5945) by AlliedModders LLC
  15 "Admin File Reader" (1.8.0.5945) by AlliedModders LLC
  16 "[INS] Player Respawn" (1.9.0) by Jared Ballou (jballou)
  17 "Client Preferences" (1.8.0.5945) by AlliedModders LLC
  18 "[INS] Insurgency Support Library" (1.4.2) by Jared Ballou (jballou)
  19 "Admin Help" (1.8.0.5945) by AlliedModders LLC
  20 "Advertisements" (0.6) by Tsunami
  21 "Basic Info Triggers" (1.8.0.5945) by AlliedModders LLC
  22 "Bot Names" (1.0) by Rakeri
  23 "Basic Votes" (1.8.0.5945) by AlliedModders LLC
  24 "Sound Commands" (1.8.0.5945) by AlliedModders LLC
  25 "[Any] Deluxe Godmode" (2.3.1) by DarthNinja
  26 "Join Messages" (2.0) by Insurgency ANZ
  27 "[INS] Restricted Area Removal" (1.0.0) by Jared Ballou (jballou)
  28 "Fun Votes" (1.8.0.5945) by AlliedModders LLC
  29 "Player Commands" (1.8.0.5945) by AlliedModders LLC
  30 "Teleport Player" (1.6) by Headline, Snippents From : HyperKiLLeR
  31 "Basic Commands" (1.8.0.5945) by AlliedModders LLC
  32 "Fun Commands" (1.8.0.5945) by AlliedModders LLC
  33 "Show Health" (1.0.2) by exvel
  34 "Reserved Slots" (1.8.0.5945) by AlliedModders LLC
__________________

Last edited by ldooks; 10-13-2016 at 12:44.
ldooks is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 10-13-2016 , 12:11   Re: Expierencing memory leaks
Reply With Quote #2

Plugins list and sm/mm version is a good start
headline is offline
ldooks
Junior Member
Join Date: Jan 2014
Old 10-13-2016 , 12:45   Re: Expierencing memory leaks
Reply With Quote #3

Quote:
Originally Posted by Headline View Post
Plugins list and sm/mm version is a good start
sorry about that, added to original post
__________________
ldooks is offline
ldooks
Junior Member
Join Date: Jan 2014
Old 10-13-2016 , 15:06   Re: Expierencing memory leaks
Reply With Quote #4

I've disabled all the non-stock plugins and it looks like memory use has stabilized, but I still get random segfaults -_-
__________________
ldooks is offline
ldooks
Junior Member
Join Date: Jan 2014
Old 10-13-2016 , 19:14   Re: Expierencing memory leaks
Reply With Quote #5

Jk memory is still leaking even with plugins disabled. Here's a dashboard so you can laugh at it with me https://p.datadoghq.com/sb/8304cbd3c-7bb6c5bbc4
__________________
ldooks is offline
Puppetmaster
Senior Member
Join Date: Jun 2015
Location: Probably at a computer.
Old 10-13-2016 , 19:16   Re: Expierencing memory leaks
Reply With Quote #6

Quote:
Originally Posted by ldooks View Post
Jk memory is still leaking even with plugins disabled. Here's a dashboard so you can laugh at it with me https://p.datadoghq.com/sb/8304cbd3c-7bb6c5bbc4
I have noticed that this seems to happen to most of the servers on my network if the map does not change for more than 6 hours. Normally I simply do a forced reboot of each container at 5-6AM each morning to prevent the leaks from getting out of hand.
__________________

GZS Servers
Puppetmaster is offline
ldooks
Junior Member
Join Date: Jan 2014
Old 10-14-2016 , 15:31   Re: Expierencing memory leaks
Reply With Quote #7

Quote:
Originally Posted by Puppetmaster View Post
I have noticed that this seems to happen to most of the servers on my network if the map does not change for more than 6 hours. Normally I simply do a forced reboot of each container at 5-6AM each morning to prevent the leaks from getting out of hand.
But it happens even with constant map changes :\
__________________
ldooks is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 10-14-2016 , 17:38   Re: Expierencing memory leaks
Reply With Quote #8

Try it without running SourceMod for a day, if it still does it, then there's your answer.
Maxximou5 is offline
VPPGamingNetwork
Veteran Member
Join Date: Sep 2012
Location: Japan
Old 10-14-2016 , 22:46   Re: Expierencing memory leaks
Reply With Quote #9

i think hes running Insurgency, and I think since the patch of last week its like that
__________________

We provide MOTD Ads
Net 1 payments
Visit us
VPPGamingNetwork is offline
ldooks
Junior Member
Join Date: Jan 2014
Old 10-18-2016 , 19:37   Re: Expierencing memory leaks
Reply With Quote #10

Quote:
Originally Posted by whosurdaddy972 View Post
i think hes running Insurgency, and I think since the patch of last week its like that


correct, i dont remember ever having crashes this consistently :C
__________________
ldooks 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 09:28.


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