I updated my test TF2 server (Win32 - XP Pro) with the latest TF2 update and found a test scenario that appears to show the memory leak.
In only 6 hours the memory usage has significantly increased from startup - live players are not needed for the leak to occur. http://qsextreme.com/tf/tf2_memory_usage2.JPG ----- Original Message ----- From: "Kevin Ottalini" <[EMAIL PROTECTED]> To: "Half-Life dedicated Win32 server mailing list" <hlds@list.valvesoftware.com> Sent: Wednesday, May 21, 2008 1:20 PM Subject: Re: [hlds] srcds memory leak. > Never assume it's a duck just because it quacks (and certainly not if it > doesn't!) > > The engine specificity wasn't known when this thread started, just that > there was a memory leak in "SRCDS". > > There have been recent updates for both server engines so its always best > to > establish and define the knowns since it helps eliminate things you don't > need to look at. > > > > ----- Original Message ----- > From: "JDoc0512" > To: "Half-Life dedicated Win32 server mailing list" > <hlds@list.valvesoftware.com> > Sent: Wednesday, May 21, 2008 1:10 PM > Subject: Re: [hlds] srcds memory leak. > > >> sadly we are taling about team fortress 2 here >> >> Kevin Ottalini wrote: >> I ran a 21-hour test with 24 bots in CSS changing maps every 20 minutes >> under WinXP32 on a dual Xeon test machine. >> I don't see any indication of a leak at all in that time, player(bot) >> count >> reached 1400. >> >> Memory usage increased and decreased on a by-map basis but the mean was >> reasonably flat. >> >> This indicates to me that this is either a plugin problem or an OB server >> problem, I'll see what I can test with a TF2 server next. >> >> Here are the stats from my regular servers, here I am seeing a slight >> increase in mem but that number is also map specific - certainly no gross >> leak is indicated here. >> uptime: 3634 minutes = 60.5 hours >> >> Process CPUTime VMBytes MemBytes Playercount >> ------------------------------------------------------------------------------ >> hlds.exe 11:00:56.125 128,424K 62,728K - HLDM 642 players >> hltv.exe 1:28:19.578 13,180K 12,636K >> >> srcds.exe 11:15:01.046 96,216K 75,452K - CSS 374 players >> srcds.exe 14:44:10.156 98,268K 79,164K - HL2DM 223 players >> srcds.exe 8:53:42.812 101,652K 79,980K - HL1MP 600 players >> >> >> >> ----- Original Message ----- >> From: "Kevin Ottalini" >> To: "Half-Life dedicated Win32 server mailing list" >> >> Sent: Tuesday, May 20, 2008 2:08 PM >> Subject: Re: [hlds] srcds memory leak. >> >> >>> My css server isnt real busy but the bots are usually the worst leak >>> sources >>> and they are on all the time. >>> >>> The CSS server is at 240 players in 36 hours. >>> The HL2DM server is at 101 players >>> The HL1MP server is at 329 players >>> >>> The HLDS server is at 355 players. >>> >>> I don't get a lot of traffic at the beginning of the week though so this >>> is >>> lower then typical. >>> I usually only restart once a week, but the important thing is I'm not >>> seeing any real difference from what I typically see. >>> >>> I'll run a test with CSS SRCDS with a full complement of bots and see if >>> a >>> leak is more obvious. >>> >>> Voogru, It might indeed be moreso in TF2 if that's where you're seeing >>> it. >>> >>> >>> >>> ----- Original Message ----- >>> From: "Spencer 'voogru' MacDonald" >>> To: "'Half-Life dedicated Win32 server mailing list'" >>> >>> Sent: Tuesday, May 20, 2008 2:01 PM >>> Subject: Re: [hlds] srcds memory leak. >>> >>> >>>> Perhaps it's limited to TF2. >>> >>> >>> ----- Original Message ----- >>> From: "Mike Stiehm" >>> To: "Half-Life dedicated Win32 server mailing list" >>> >>> Sent: Tuesday, May 20, 2008 1:10 PM >>> Subject: Re: [hlds] srcds memory leak. >>> >>> >>>>I also run a CS:S server and until it started to get busy it didn't use >>>>much ram. >>>> I'm not sure about how much traffic some of you get but if a server >>>> sits >>>> idle >>>> it will not use anymore memory then it is currently using. >>>>Its the churn that does it (players leaving and joining) >>>> as my user ID goes up also does the RAM >>> >>> ----- Original Message ----- >>> From: "Kevin Ottalini" >>> To: "Half-Life dedicated Win32 server mailing list" >>> >>> Sent: Tuesday, May 20, 2008 12:58 PM >>> Subject: Re: [hlds] srcds memory leak. >>> >>> >>>>I have 36+ hours of uptime on 3 SRCDS servers (Win32, Server 2003), >>>> hl2dm, css and hl1mp and I'm not seeing anything unusual. >>>> >>>> I don't run any plugins. The CSS server has 4 bots on. >>>> hlds and hltv included for comparison: >>>> >>>> Process CPUTime VM-Bytes MemUsageBytes >>>> ------------------------------------------------ >>>> hlds.exe 5:56:36.453 134,640K 35,080K >>>> hltv.exe 0:49:06.796 14,744K 8,764K >>>> >>>> srcds.exe 5:48:10.859 108,408K 80,104K >>>> srcds.exe 8:11:45.000 95,140K 60,412K >>>> srcds.exe 5:14:03.531 73,512K 24,712K >>>> >>>> quick >>>> >>>> >>>> ----- Original Message ----- >>>> From: "Spencer 'voogru' MacDonald" >>>> To: "'Half-Life dedicated Win32 server mailing list'" >>>> >>>> Sent: Tuesday, May 20, 2008 12:10 PM >>>> Subject: [hlds] srcds memory leak. >>>> >>>>> Is it me, or is anyone experiencing massive memory leaks with srcds? >>>>> >>>>> In the past updates they have got significantly worse, I used to be >>>>> forced >>>>> to restart my server every 72 hours, now it's about 24 hours. Srcds >>>>> will >>>>> go >>>>> from using 260MB of usage on startup to nearly 600-700MB+ per instance >>>>> within 24 hours. >>>>> >>>>> - voogru. _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds