Build 161 server memory leak

2»

Comments

  • devicenulldevicenull Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
    <!--quoteo(post=1827248:date=Jan 25 2011, 09:42 PM:name=endar)--><div class='quotetop'>QUOTE (endar @ Jan 25 2011, 09:42 PM) <a href="index.php?act=findpost&pid=1827248"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->No harm in asking!
    Thought it could have been from the web admin page. I have not yet had any leaks like are shown in that graph, had up to 12 players, currently about 6 and its holding steady.

    Have you tried running everything stock?<!--QuoteEnd--></div><!--QuoteEEnd-->

    Everything is stock ;) The software is a windows application, it uses windows to monitor the memory/cpu/players of running processes. I find it rather impossible that it would be causing memory leaks.
  • endarendar Join Date: 2010-07-27 Member: 73256Members, Squad Five Blue
    Oh, i wasnt referring to the program alone (while im not ruling it out), but do you use the web administration? (cant think of anything else).
    There is obviously a difference between my configuration and yours if it happens on one and not the other.
  • devicenulldevicenull Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
    <!--quoteo(post=1827254:date=Jan 25 2011, 09:57 PM:name=endar)--><div class='quotetop'>QUOTE (endar @ Jan 25 2011, 09:57 PM) <a href="index.php?act=findpost&pid=1827254"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Oh, i wasnt referring to the program alone (while im not ruling it out), but do you use the web administration? (cant think of anything else).
    There is obviously a difference between my configuration and yours if it happens on one and not the other.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Nope. I don't really do anything with my NS2 server, other then keep it up to date.
  • MaxMax Technical Director, Unknown Worlds Entertainment Join Date: 2002-03-15 Member: 318Super Administrators, Retired Developer, NS1 Playtester, Forum Moderators, NS2 Developer, Constellation, Subnautica Developer, Pistachionauts, Future Perfect Developer
    <!--quoteo(post=1827237:date=Jan 25 2011, 06:21 PM:name=devicenull)--><div class='quotetop'>QUOTE (devicenull @ Jan 25 2011, 06:21 PM) <a href="index.php?act=findpost&pid=1827237"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Btw this isn't fully fixed in 162. It's much improved (the memory leak happens slowly how), but my 162 server is currently using 1.5gb of memory, after having players on it for about two hours.

    <img src="http://dl.dropbox.com/u/2078961/ns2.png" border="0" class="linked-image" />

    Note: The initial spike on the far left of the graph is from 161. The drop represents me restarting the server to apply 162.<!--QuoteEnd--></div><!--QuoteEEnd-->
    Thanks for the report. I'm guessing this is from a different piece of code. I'll look into this for the next patch.
  • l3lessedl3lessed Join Date: 2010-06-07 Member: 71977Members
    Might of found the cause of this. Playing a game right now and server just went from running smooth as butter to a tick rate of 2. The cause: I was behind a marine, he went around a corner, got killed, the server started to act funny, I walked around the corner, and I see where he died an endless amount of rifles spawning.

    I think there is something going on where when a marine dies and the code spawns his rifle drop it's some how getting stuck in a loop and causing a endless waterfalls of rifles to fall. This of course hogs the whole server resources and causes the crash.

    Take a look into it. I'll report it online.
  • SkiddywinksSkiddywinks Join Date: 2011-01-12 Member: 77239Members
    I just came here to also mention that I don't think it has been fully fixed. Glad to see everyone is already on top of it!

    I was playing a silky smooth game and then before I know it, lag. I didn't check the tick rate but it was definitely the same kind of lag as the memory leak in 161. The server even crashed and all.
  • devicenulldevicenull Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
    edited February 2011
    Still seeing similar things in 163, though it appears to be improved now.

    <img src="http://dl.dropbox.com/u/2078961/ns2_163.png" border="0" class="linked-image" />

    Edit: Picture updated. The drop at 8AM is when the server did it's daily reboot.
Sign In or Register to comment.